diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-08-04 16:48:30 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2016-08-04 16:48:30 +0800 |
commit | 43f4fd6f9bfff749af17e3c65b53a33f5ecb0922 (patch) | |
tree | a9625bdc9b5c5c5851a2e50c2cdbd8b7f8a71a67 /sql/hive/src/test/scala | |
parent | 27e815c31de26636df089b0b8d9bd678b92d3588 (diff) | |
download | spark-43f4fd6f9bfff749af17e3c65b53a33f5ecb0922.tar.gz spark-43f4fd6f9bfff749af17e3c65b53a33f5ecb0922.tar.bz2 spark-43f4fd6f9bfff749af17e3c65b53a33f5ecb0922.zip |
[SPARK-16867][SQL] createTable and alterTable in ExternalCatalog should not take db
## What changes were proposed in this pull request?
These 2 methods take `CatalogTable` as parameter, which already have the database information.
## How was this patch tested?
existing test
Author: Wenchen Fan <wenchen@databricks.com>
Closes #14476 from cloud-fan/minor5.
Diffstat (limited to 'sql/hive/src/test/scala')
-rw-r--r-- | sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala index c87bda9047..c36b0275f4 100644 --- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala +++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala @@ -741,7 +741,7 @@ class MetastoreDataSourcesSuite extends QueryTest with SQLTestUtils with TestHiv DATASOURCE_SCHEMA -> schema.json, "EXTERNAL" -> "FALSE")) - sharedState.externalCatalog.createTable("default", hiveTable, ignoreIfExists = false) + sharedState.externalCatalog.createTable(hiveTable, ignoreIfExists = false) sessionState.refreshTable(tableName) val actualSchema = table(tableName).schema |