-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Hive: Fix Catalogs.hiveCatalog method for default catalogs #3338
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
Conversation
|
CC: @jackye1995, @marton-bod |
|
Hi @pvary. On the mailing list, when you said:
Did you mean that this patch will break hive queries if not catalog is set after it's applied, or does it fix hive queries breaking if no catalog is set? Thanks as always for your contributions 🙂 |
@kbendick: My bad 😄 |
kbendick
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
I checked it out locally, and some Flink checkstyle tests are failing, but that's certainly unrelated. I rebased locally off of master and the problems seem to go away. If you want to rebase and push, go ahead, but I don
|
Looks good to me. Thanks, @pvary! Sorry it took me a while to get to this review. |
After #2565 the
Catalogs.loadCatalogis synchronised with theCatalogUtilimplementation.Catalogs.hiveCatalogis not fixed, and also not tested.This caused issues when I have tried to port this to the Hive repo.
The PR fixes the method, and also adds test.