Closed andrewcstewart closed 2 years ago
@andrewcstewart - For my part, if it's feasible to do so, I like the idea of "no setup required" and the target can auto-create its own environment.
The reverse argument, I think, is that you might not want to accidentally create a new catalog, for instance if the user accidentally sets the wrong region (true story 😆 ). This could be optionally be mitigated by (and perhaps in a future update) a setting value of allow_create_catalog
or similar.
That seems reasonable. Another thought is that because the default awsdatacatalog
catalog already exists for accounts, we could simply use the setting of any other value of a athena_catalog
config param as inidiication to create if not exists.
On second thought, it looks like creating additional catalogs for Athena is not at all trivial.
@andrewcstewart If overly complicated and requiring advanced config, I think it's perfectly reasonable to not have this feature. And especially since the default one is auto-created and we can easily get new/disposable namespaces with the schema/database layer.
Agreed. Closing this as out of scope.
In Athena parlance,
catalog
is basically analogous todatabase
anddatabase
is analogous toschema
. We are currently creating the "schema" if it doesn't exist, but should we also potentially create a catalog?