dbt-labs/dbt-athena

[Feature] Glue database creation should be optional

moltar opened this issue · 0 comments

Is this your first time submitting a feature request?

  • I have searched the existing issues, and I could not find an existing issue for this feature

Describe the feature

Currently, a run will create a schema if it does not exist.

This is done via the athena__create_schema macro.

However, we pre-created the schema, and it will be always available, thus we never need to create one.

However, this requirement requires us to open up IAM permissions to create schemas, because even running such query, even nothing is created, will fail unless permission is given.

Describe alternatives you've considered

To give permission glue:CreateDatabase.

Who will this benefit?

Everyone who is mindful of security.

Are you interested in contributing this feature?

No

Anything else?

N/A