You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2017/06/07 05:51:12 UTC

spark git commit: [SPARK-20854][TESTS] Removing duplicate test case

Repository: spark
Updated Branches:
  refs/heads/master c92949ac2 -> cb83ca143


[SPARK-20854][TESTS] Removing duplicate test case

## What changes were proposed in this pull request?

Removed a duplicate case in "SPARK-20854: select hint syntax with expressions"

## How was this patch tested?
Existing tests.

Author: Bogdan Raducanu <bo...@databricks.com>

Closes #18217 from bogdanrdc/SPARK-20854-2.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/cb83ca14
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/cb83ca14
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/cb83ca14

Branch: refs/heads/master
Commit: cb83ca1433c865cb0aef973df2b872a83671acfd
Parents: c92949a
Author: Bogdan Raducanu <bo...@databricks.com>
Authored: Tue Jun 6 22:51:10 2017 -0700
Committer: Reynold Xin <rx...@databricks.com>
Committed: Tue Jun 6 22:51:10 2017 -0700

----------------------------------------------------------------------
 .../apache/spark/sql/catalyst/parser/PlanParserSuite.scala   | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/cb83ca14/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala
index d004d04..fef39a5 100644
--- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala
+++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/PlanParserSuite.scala
@@ -576,14 +576,6 @@ class PlanParserSuite extends PlanTest {
     )
 
     comparePlans(
-      parsePlan("SELECT /*+ HINT1(a, array(1, 2, 3)) */ * from t"),
-      UnresolvedHint("HINT1", Seq($"a",
-        UnresolvedFunction("array", Literal(1) :: Literal(2) :: Literal(3) :: Nil, false)),
-        table("t").select(star())
-      )
-    )
-
-    comparePlans(
       parsePlan("SELECT /*+ HINT1(a, 5, 'a', b) */ * from t"),
       UnresolvedHint("HINT1", Seq($"a", Literal(5), Literal("a"), $"b"),
         table("t").select(star())


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org