diff options
author | Liang-Chi Hsieh <viirya@gmail.com> | 2016-01-28 22:20:52 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-01-28 22:20:52 -0800 |
commit | 66449b8dcdbc3dca126c34b42c4d0419c7648696 (patch) | |
tree | dbff9ff8662d063838c65a73eac5d3328c99d5df /sql/hive-thriftserver | |
parent | b9dfdcc63bb12bc24de96060e756889c2ceda519 (diff) | |
download | spark-66449b8dcdbc3dca126c34b42c4d0419c7648696.tar.gz spark-66449b8dcdbc3dca126c34b42c4d0419c7648696.tar.bz2 spark-66449b8dcdbc3dca126c34b42c4d0419c7648696.zip |
[SPARK-12968][SQL] Implement command to set current database
JIRA: https://issues.apache.org/jira/browse/SPARK-12968
Implement command to set current database.
Author: Liang-Chi Hsieh <viirya@gmail.com>
Author: Liang-Chi Hsieh <viirya@appier.com>
Closes #10916 from viirya/ddl-use-database.
Diffstat (limited to 'sql/hive-thriftserver')
-rw-r--r-- | sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala b/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala index ab31d45a79..72da266da4 100644 --- a/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala +++ b/sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala @@ -183,7 +183,7 @@ class CliSuite extends SparkFunSuite with BeforeAndAfterAll with Logging { "CREATE DATABASE hive_test_db;" -> "OK", "USE hive_test_db;" - -> "OK", + -> "", "CREATE TABLE hive_test(key INT, val STRING);" -> "OK", "SHOW TABLES;" |