Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glue catalog cleanup #18543

Merged
merged 6 commits into from
Aug 7, 2023
Merged

Glue catalog cleanup #18543

merged 6 commits into from
Aug 7, 2023

Conversation

findepi
Copy link
Member

@findepi findepi commented Aug 4, 2023

Small related cleanups for improving code maintainability in TrinoGlueCatalog

findepi added 3 commits August 4, 2023 16:27
Unusual for get* methods, this one has important side-effects.
`EntityNotFoundException` is AWS SDK exception, which can be thrown from
`glueClient.getTable`. All the remaining code is wrapped in `catch
(RuntimeException)`, so couldn't trigger the clause.
@findepi findepi added the no-release-notes This pull request does not require release notes entry label Aug 4, 2023
@cla-bot cla-bot bot added the cla-signed label Aug 4, 2023
@github-actions github-actions bot added the iceberg Iceberg connector label Aug 4, 2023
@pettyjamesm
Copy link
Member

cc: @jackye1995

Copy link
Contributor

@wendigo wendigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % typo in the Introduce helper for UpdateTableRequest in Glue catalog (exsiting)

findepi added 3 commits August 7, 2023 13:06
Similar to existing createTable and deleteTable methods
The cache is query-scoped and single query doesn't issue requests
requiring invalidation, but this is still good practice.
@findepi findepi force-pushed the findepi/glue-catalog-clean branch from a92d8ae to d8058f9 Compare August 7, 2023 11:07
@findepi findepi merged commit 388b551 into master Aug 7, 2023
@findepi findepi deleted the findepi/glue-catalog-clean branch August 7, 2023 11:07
@github-actions github-actions bot added this to the 423 milestone Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector no-release-notes This pull request does not require release notes entry
Development

Successfully merging this pull request may close these issues.

5 participants