diff options
author | Andrew Or <andrew@databricks.com> | 2016-05-31 20:06:08 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-05-31 20:06:08 -0700 |
commit | 1dd925644138c4a822328d4c6c51ba3ebd99c524 (patch) | |
tree | 829ece8c2482edf999b24e659954d928fe160b2f /sql | |
parent | ac38bdc756c25632069e7887a657250fe2fd6d82 (diff) | |
download | spark-1dd925644138c4a822328d4c6c51ba3ebd99c524.tar.gz spark-1dd925644138c4a822328d4c6c51ba3ebd99c524.tar.bz2 spark-1dd925644138c4a822328d4c6c51ba3ebd99c524.zip |
[HOTFIX] DDLSuite was broken by 93e9714
Diffstat (limited to 'sql')
-rw-r--r-- | sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala index 5d45cfb501..dd1f598807 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala @@ -1179,11 +1179,11 @@ class DDLSuite extends QueryTest with SharedSQLContext with BeforeAndAfterEach { var message = intercept[AnalysisException] { sql(s"INSERT OVERWRITE TABLE $tabName SELECT 1, 'a'") }.getMessage - assert(message.contains("Please enable Hive support when inserting the regular tables")) + assert(message.contains("Hive support is required to insert into the following tables")) message = intercept[AnalysisException] { sql(s"SELECT * FROM $tabName") }.getMessage - assert(message.contains("Please enable Hive support when selecting the regular tables")) + assert(message.contains("Hive support is required to select over the following tables")) } } @@ -1205,11 +1205,11 @@ class DDLSuite extends QueryTest with SharedSQLContext with BeforeAndAfterEach { var message = intercept[AnalysisException] { sql(s"INSERT OVERWRITE TABLE $tabName SELECT 1, 'a'") }.getMessage - assert(message.contains("Please enable Hive support when inserting the regular tables")) + assert(message.contains("Hive support is required to insert into the following tables")) message = intercept[AnalysisException] { sql(s"SELECT * FROM $tabName") }.getMessage - assert(message.contains("Please enable Hive support when selecting the regular tables")) + assert(message.contains("Hive support is required to select over the following tables")) } } } |