You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by yh...@apache.org on 2016/02/25 01:14:00 UTC

spark git commit: [SPARK-13383][SQL] Fix test

Repository: spark
Updated Branches:
  refs/heads/master bc353805b -> cbb0b65ad


[SPARK-13383][SQL] Fix test

## What changes were proposed in this pull request?

Reverting SPARK-13376 (https://github.com/apache/spark/commit/d563c8fa01cfaebb5899ff7970115d0f2e64e8d5) affects the test added by SPARK-13383. So, I am fixing the test.

Author: Yin Huai <yh...@databricks.com>

Closes #11355 from yhuai/SPARK-13383-fix-test.


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

Branch: refs/heads/master
Commit: cbb0b65ad53f2642fab8aad3ea115375c53b6eed
Parents: bc35380
Author: Yin Huai <yh...@databricks.com>
Authored: Wed Feb 24 16:13:55 2016 -0800
Committer: Yin Huai <yh...@databricks.com>
Committed: Wed Feb 24 16:13:55 2016 -0800

----------------------------------------------------------------------
 .../spark/sql/catalyst/optimizer/JoinOptimizationSuite.scala      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/cbb0b65a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/JoinOptimizationSuite.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/JoinOptimizationSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/JoinOptimizationSuite.scala
index d482519..1ab53a1 100644
--- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/JoinOptimizationSuite.scala
+++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/JoinOptimizationSuite.scala
@@ -108,8 +108,7 @@ class JoinOptimizationSuite extends PlanTest {
       Project(Seq($"x.key", $"y.key"),
         Join(
           Project(Seq($"x.key"), SubqueryAlias("x", input)),
-          BroadcastHint(
-            Project(Seq($"y.key"), SubqueryAlias("y", input))),
+          Project(Seq($"y.key"), BroadcastHint(SubqueryAlias("y", input))),
           Inner, None)).analyze
 
     comparePlans(optimized, expected)


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