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

Fix GlueContext when catalog ID is present #22048

Merged
merged 1 commit into from
May 22, 2024

Conversation

Laonel
Copy link
Member

@Laonel Laonel commented May 21, 2024

Description

setCatalogId method would always throw IllegalArgumentException if invoked.

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# Hive, Delta Lake
* Fixed a bug that caused exceptions when `hive.metastore.glue.catalogid` was set

@cla-bot cla-bot bot added the cla-signed label May 21, 2024
@github-actions github-actions bot added the hive Hive connector label May 21, 2024
@Laonel
Copy link
Member Author

Laonel commented May 21, 2024

We could modify the config in TestingGlueHiveMetastore to set hive.metastore.glue.catalogid to the current AWS account to test this, but I am not sure if it's a good idea.

@Laonel Laonel requested a review from dain May 21, 2024 06:59
`setCatalogId` method would always throw IllegalArgumentException
if invoked.
@Laonel Laonel force-pushed the patryk/glue-context-fix branch from b023815 to be42fd2 Compare May 21, 2024 11:48
@findepi
Copy link
Member

findepi commented May 21, 2024

/test-with-secrets sha=be42fd2b84f0a9ed62da4aad03069e8067c56e18

Copy link

github-actions bot commented May 21, 2024

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/9174447390

@findepi findepi merged commit eae4831 into trinodb:master May 22, 2024
56 of 58 checks passed
@github-actions github-actions bot added this to the 449 milestone May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed hive Hive connector
Development

Successfully merging this pull request may close these issues.

3 participants