You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by hv...@apache.org on 2016/04/21 13:18:52 UTC
spark git commit: [HOTFIX] Remove wrong DDL tests
Repository: spark
Updated Branches:
refs/heads/master d53a51c1e -> 4ac6e75cd
[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 <si...@tw.ibm.com>
Closes #12572 from viirya/hotfix-ddl.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4ac6e75c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4ac6e75c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4ac6e75c
Branch: refs/heads/master
Commit: 4ac6e75cd6b2ab90dbf3bd47e8a6b65059e0f2f9
Parents: d53a51c
Author: Liang-Chi Hsieh <si...@tw.ibm.com>
Authored: Thu Apr 21 13:18:39 2016 +0200
Committer: Herman van Hovell <hv...@questtec.nl>
Committed: Thu Apr 21 13:18:39 2016 +0200
----------------------------------------------------------------------
.../spark/sql/execution/command/DDLCommandSuite.scala | 13 -------------
1 file changed, 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/4ac6e75c/sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLCommandSuite.scala
----------------------------------------------------------------------
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 7076515..e99eb02 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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org