Skip to content

AWS: Check for existing Glue database before attempting to create one#16297

Open
cloventt wants to merge 1 commit into
apache:mainfrom
cloventt:glue-fails-without-create-table
Open

AWS: Check for existing Glue database before attempting to create one#16297
cloventt wants to merge 1 commit into
apache:mainfrom
cloventt:glue-fails-without-create-table

Conversation

@cloventt
Copy link
Copy Markdown

@cloventt cloventt commented May 12, 2026

Fixes #13758. Just check if the database exists, and if it does, do nothing. This means that the sink task does not need to have glue:CreateDatabase permission if the database already exists. Currently, the connector will fail if it does not have glue:CreateDatabase permission, which violates the principle of least privilege if the database already exists.

@cloventt cloventt changed the title handle condition where glue:CreateDatabase permission is not present Kafka Connect: Check for existing Glue database before attempting to create one May 12, 2026
@github-actions github-actions Bot added the AWS label May 12, 2026
@cloventt cloventt changed the title Kafka Connect: Check for existing Glue database before attempting to create one AWS: Check for existing Glue database before attempting to create one May 12, 2026
@cloventt cloventt force-pushed the glue-fails-without-create-table branch from b350076 to b1cf5f1 Compare May 12, 2026 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow AccessDeniedExceptions To Fail Silently On Auto Creating Tables

1 participant