-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-12918][table][hive] unify GenericCatalogTable, HiveCatalogTable and AbstractCatalogTable into CatalogTableImpl #8815
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
|
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. DetailsThe Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
|
cc @xuefuz @lirui-apache @zjuwangg @sunjincheng121 @dianfu can you verify the python part? |
|
@bowenli86 Thanks a lot for the PR. The changes related to the Python part LGTM. |
| * TODO: Move util methods to CatalogTest and remove this class | ||
| */ | ||
| public class CatalogTestUtil { | ||
| public static void checkEquals(CatalogTable t1, CatalogTable t2) { |
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.
Since CatalogTable has multiple of subclasses, we probably need to make sure that the classes are equal too.
xuefuz
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.
LGTM. Just one minor comment.
|
@xuefuz thanks for your review! I updated the PR |
|
I rebased to master to resolve conflicts. @xuefuz can you take another look? |
xuefuz
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.
LGTM.
|
The newly added class, HiveTableFactory, still has reference to GenericCatalogTable. However, I don't see any changes included for that. |
|
@xuefuz I just rebased this PR to master |
xuefuz
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.
+1
…e and AbstractCatalogTable into CatalogTableImpl
|
The assigned travis build probably won't finish 10 hours later. My private build succeeded . Merging. |
…e and AbstractCatalogTable into CatalogTableImpl This PR unifies implementations of CatalogTable by combining GenericCatalogTable, HiveCatalogTable and AbstractCatalogTable into CatalogTableImpl. This closes apache#8815.
What is the purpose of the change
This PR unifies implementations of CatalogTable by combining GenericCatalogTable, HiveCatalogTable and AbstractCatalogTable into CatalogTableImpl.
Brief change log
Verifying this change
This change added tests and can be verified as follows:
GenericInMemoryCatalogTest,HiveCatalogHiveMetadataTest,HiveCatalogGenericMetadataTestDoes this pull request potentially affect one of the following parts:
@Public(Evolving): (no)Documentation