diff options
author | Liang-Chi Hsieh <simonh@tw.ibm.com> | 2016-04-21 13:18:39 +0200 |
---|---|---|
committer | Herman van Hovell <hvanhovell@questtec.nl> | 2016-04-21 13:18:39 +0200 |
commit | 4ac6e75cd6b2ab90dbf3bd47e8a6b65059e0f2f9 (patch) | |
tree | 5014fc01afd45db5e44ef1d96f6d9616606ffa10 | |
parent | d53a51c1e5be72cd58a3ff8b62c7b680d8feae22 (diff) | |
download | spark-4ac6e75cd6b2ab90dbf3bd47e8a6b65059e0f2f9.tar.gz spark-4ac6e75cd6b2ab90dbf3bd47e8a6b65059e0f2f9.tar.bz2 spark-4ac6e75cd6b2ab90dbf3bd47e8a6b65059e0f2f9.zip |
[HOTFIX] Remove wrong DDL tests
## What changes were proposed in this pull request?
As we moved most parsing rules to `SparkSqlParser`, some tests expected to throw exception are not correct anymore.
## How was this patch tested?
`DDLCommandSuite`
Author: Liang-Chi Hsieh <simonh@tw.ibm.com>
Closes #12572 from viirya/hotfix-ddl.
-rw-r--r-- | sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLCommandSuite.scala | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLCommandSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLCommandSuite.scala index 70765158b5..e99eb02252 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLCommandSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLCommandSuite.scala @@ -619,19 +619,6 @@ class DDLCommandSuite extends PlanTest { parser.parsePlan("DROP TABLE tab FOR REPLICATION('eventid')") } intercept[ParseException] { - parser.parsePlan("CREATE VIEW testView AS SELECT id FROM tab") - } - intercept[ParseException] { - parser.parsePlan("ALTER VIEW testView AS SELECT id FROM tab") - } - intercept[ParseException] { - parser.parsePlan( - """ - |CREATE EXTERNAL TABLE parquet_tab2(c1 INT, c2 STRING) - |TBLPROPERTIES('prop1Key '= "prop1Val", ' `prop2Key` '= "prop2Val") - """.stripMargin) - } - intercept[ParseException] { parser.parsePlan( """ |CREATE EXTERNAL TABLE oneToTenDef |