-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-17903][SQL] MetastoreRelation should talk to external catalog instead of hive client #15460
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
|
Test build #66882 has finished for PR 15460 at commit
|
|
Test build #66893 has finished for PR 15460 at commit
|
|
cc @ericl |
|
LGTM |
|
A bunch of mysterious failures ... |
|
LGTM if tests pass :) |
|
|
| client.getPartitions(db, table, partialSpec) | ||
| } | ||
|
|
||
| override def listPartitionsByFilter( |
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.
Need a test case in HiveExternalCatalogSuite, just like the other APIs?
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.
added
|
LGTM except one comment about test case |
|
Test build #66922 has finished for PR 15460 at commit
|
|
Test build #66948 has finished for PR 15460 at commit
|
|
thanks for the review, merging to master! |
…instead of hive client ## What changes were proposed in this pull request? `HiveExternalCatalog` should be the only interface to talk to the hive metastore. In `MetastoreRelation` we can just use `ExternalCatalog` instead of `HiveClient` to interact with hive metastore, and add missing API in `ExternalCatalog`. ## How was this patch tested? existing tests. Author: Wenchen Fan <[email protected]> Closes apache#15460 from cloud-fan/relation.
…instead of hive client ## What changes were proposed in this pull request? `HiveExternalCatalog` should be the only interface to talk to the hive metastore. In `MetastoreRelation` we can just use `ExternalCatalog` instead of `HiveClient` to interact with hive metastore, and add missing API in `ExternalCatalog`. ## How was this patch tested? existing tests. Author: Wenchen Fan <[email protected]> Closes apache#15460 from cloud-fan/relation.
What changes were proposed in this pull request?
HiveExternalCatalogshould be the only interface to talk to the hive metastore. InMetastoreRelationwe can just useExternalCataloginstead ofHiveClientto interact with hive metastore, and add missing API inExternalCatalog.How was this patch tested?
existing tests.