viirya commented on a change in pull request #34065:
URL: https://github.com/apache/spark/pull/34065#discussion_r713637819



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala
##########
@@ -262,7 +262,7 @@ abstract class SparkStrategies extends 
QueryPlanner[SparkPlan] {
               // This join could be very slow or OOM
               val buildSide = getSmallerSide(left, right)
               Seq(joins.BroadcastNestedLoopJoinExec(
-                planLater(left), planLater(right), buildSide, joinType, 
nonEquiCond))
+                planLater(left), planLater(right), buildSide, joinType, 
j.condition))

Review comment:
       I read the JIRA description. If the join condition is wrong, isn't this 
a bug? Even it is not default join strategy, we still possibly hit this path, 
no?




-- 
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]

Reply via email to