diff options
author | gatorsmile <gatorsmile@gmail.com> | 2016-09-04 15:04:33 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-09-04 15:04:33 +0800 |
commit | 6b156e2fcf9c0c1ed0770a7ad9c54fa374760e17 (patch) | |
tree | 593ff90402b847fe4ed225e961d4d34e506eb62b /sql/core | |
parent | e9b58e9ef89a9118b6d5a466d10db8e30d61f850 (diff) | |
download | spark-6b156e2fcf9c0c1ed0770a7ad9c54fa374760e17.tar.gz spark-6b156e2fcf9c0c1ed0770a7ad9c54fa374760e17.tar.bz2 spark-6b156e2fcf9c0c1ed0770a7ad9c54fa374760e17.zip |
[SPARK-17324][SQL] Remove Direct Usage of HiveClient in InsertIntoHiveTable
### What changes were proposed in this pull request?
This is another step to get rid of HiveClient from `HiveSessionState`. All the metastore interactions should be through `ExternalCatalog` interface. However, the existing implementation of `InsertIntoHiveTable ` still requires Hive clients. This PR is to remove HiveClient by moving the metastore interactions into `ExternalCatalog`.
### How was this patch tested?
Existing test cases
Author: gatorsmile <gatorsmile@gmail.com>
Closes #14888 from gatorsmile/removeClientFromInsertIntoHiveTable.
Diffstat (limited to 'sql/core')
-rw-r--r-- | sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala index 67b2329eff..a1371582be 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala @@ -309,8 +309,7 @@ case class LoadDataCommand( partition.get, isOverwrite, holdDDLTime = false, - inheritTableSpecs = true, - isSkewedStoreAsSubdir = false) + inheritTableSpecs = true) } else { catalog.loadTable( targetTable.identifier, |