wangyum commented on code in PR #37930:
URL: https://github.com/apache/spark/pull/37930#discussion_r976127799
##########
sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala:
##########
@@ -1440,4 +1440,25 @@ class JoinSuite extends QueryTest with
SharedSparkSession with AdaptiveSparkPlan
}
}
}
+
+ test("SPARK-40487: Make defaultJoin in BroadcastNestedLoopJoinExec running
in parallel") {
+ withTable("t1", "t2") {
+ spark.range(5, 15).toDF("k").write.saveAsTable("t1")
+ spark.range(4, 8).toDF("k").write.saveAsTable("t2")
+
+ val queryBuildLeft =
+ s"""
+ |SELECT /*+ BROADCAST(t1) */ * FROM t1 LEFT JOIN t2 on t1.k < t2.k
+ """.stripMargin
Review Comment:
```suggestion
val queryBuildLeft = "SELECT /*+ BROADCAST(t1) */ * FROM t1 LEFT JOIN t2 on
t1.k < t2.k"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]