juliuszsompolski commented on a change in pull request #29572:
URL: https://github.com/apache/spark/pull/29572#discussion_r486490381
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/SortMergeJoinExec.scala
##########
@@ -251,7 +251,8 @@ case class SortMergeJoinExec(
RowIterator.fromScala(rightIter),
inMemoryThreshold,
spillThreshold,
- cleanupResources
+ cleanupResources,
+ condition.isEmpty
Review comment:
Thanks @peter-toth !
I think this could be also added to LeftAnti join, which is also only
interested in the existence of a match and doesn't need to buffer them.
----------------------------------------------------------------
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]