Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18301#discussion_r124451356
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashJoin.scala ---
    @@ -214,6 +215,7 @@ trait HashJoin {
         val resultProj = createResultProjection
         joinedIter.map { r =>
           numOutputRows += 1
    +      avgHashProbe.set(hashed.getAverageProbesPerLookup())
    --- End diff --
    
    Because in HashAggregate, we process all rows in aggregation, then we can 
update the probe. But in join, it processes the rows as an iterator, we have no 
a point to update the probe in the end of join like aggregation case.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to