GitHub user cloud-fan opened a pull request: https://github.com/apache/spark/pull/15460
[SPARK-17903][SQL] MetastoreRelation should talk to external catalog 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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloud-fan/spark relation Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/15460.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #15460 ---- commit 79ec4fe2a3c811f1eb8f844fcec9f50a0e9cfcf8 Author: Wenchen Fan <wenc...@databricks.com> Date: 2016-10-13T08:40:34Z MetastoreRelation should talk to external catalog instead of hive client ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org