Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/23204#discussion_r238270550 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/joins/HashedRelation.scala --- @@ -483,8 +470,6 @@ private[execution] final class LongToUnsafeRowMap(val mm: TaskMemoryManager, cap */ def getValue(key: Long, resultRow: UnsafeRow): UnsafeRow = { if (isDense) { - numKeyLookups += 1 - numProbes += 1 --- End diff -- If as your test shows this is the cause of performance regression, we can just revert this and related changes. The change in `HashAggregateExec`, etc. can be kept.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org