leanken commented on a change in pull request #29455:
URL: https://github.com/apache/spark/pull/29455#discussion_r473547364



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashJoin.scala
##########
@@ -277,6 +286,34 @@ trait HashJoin extends BaseJoinExec with CodegenSupport {
     }
   }
 
+  private def nullAwareAntiJoin(
+      streamIter: Iterator[InternalRow],
+      hashedRelation: HashedRelation): Iterator[InternalRow] = {
+    if (hashedRelation == EmptyHashedRelation) {
+      streamIter
+    } else if (hashedRelation == EmptyHashedRelationWithAllNullKeys) {
+      // This code branch should only be used in 
BroadcastHashJoinExec(Non-AQE).

Review comment:
       Good advice.




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