mcdull-zhang opened a new pull request #33289:
URL: https://github.com/apache/spark/pull/33289


   ### What changes were proposed in this pull request?
   NULL-aware ANTI join (https://issues.apache.org/jira/browse/SPARK-32290) 
will build right side into a HashMap.
   code in SparkStrategy:
   `case j @ ExtractSingleColumnNullAwareAntiJoin(leftKeys, rightKeys) =>
     Seq(joins.BroadcastHashJoinExec(leftKeys, rightKeys, LeftAnti, BuildRight,
       None, planLater(j.left), planLater(j.right), isNullAwareAntiJoin = 
true))`
   
   we should add the conditions and use this optimization when the size of the 
right side is small enough.
   
   ### Why are the changes needed?
   better stability
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   added Test
   


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