cloud-fan commented on code in PR #38489:
URL: https://github.com/apache/spark/pull/38489#discussion_r1031191650
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/BroadcastHashJoinExec.scala:
##########
@@ -162,6 +162,9 @@ case class BroadcastHashJoinExec(
// Anti Join: Drop the row on the streamed side if it is a match
on the build
hashed.get(lookupKey) == null
}
+ }).map(row => {
+ numOutputRows += 1
Review Comment:
shall we do it inside `.filter` instead of adding `.map`?
--
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]