cloud-fan commented on a change in pull request #31792:
URL: https://github.com/apache/spark/pull/31792#discussion_r591022107



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashJoin.scala
##########
@@ -137,7 +137,11 @@ trait HashJoin extends JoinCodegenSupport {
     UnsafeProjection.create(streamedBoundKeys)
 
   @transient protected[this] lazy val boundCondition = if 
(condition.isDefined) {
-    Predicate.create(condition.get, streamedPlan.output ++ 
buildPlan.output).eval _
+    if (joinType == FullOuter && buildSide == BuildLeft) {

Review comment:
       can we leave a comment here to give a reference to the actual 
implementation so that people understand why the order is different?




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

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