Repository: spark Updated Branches: refs/heads/branch-2.2 421d8ecb8 -> 3f93d076b
[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 <bog...@databricks.com> Closes #18217 from bogdanrdc/SPARK-20854-2. (cherry picked from commit cb83ca1433c865cb0aef973df2b872a83671acfd) Signed-off-by: Reynold Xin <r...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/3f93d076 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/3f93d076 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/3f93d076 Branch: refs/heads/branch-2.2 Commit: 3f93d076b8c4a932bace2ebef400abe60ad5927c Parents: 421d8ec Author: Bogdan Raducanu <bog...@databricks.com> Authored: Tue Jun 6 22:51:10 2017 -0700 Committer: Reynold Xin <r...@databricks.com> Committed: Tue Jun 6 22:51:18 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/3f93d076/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 954f6da..77ae843 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 @@ -545,14 +545,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-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org