[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.
This commit is contained in:
parent
d53a51c1e5
commit
4ac6e75cd6
|
@ -618,19 +618,6 @@ class DDLCommandSuite extends PlanTest {
|
|||
intercept[ParseException] {
|
||||
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(
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue