Github user liancheng commented on the issue:
https://github.com/apache/spark/pull/17419
@WeichenXu123 and I did some profiling using `jvisualvm` and found that 40%
of the time is spent in the copy performed by [this `safeProjection`][1]. This
is a known issue used to fight against the false sharing issue @cloud-fan and I
hit before.
@cloud-fan tried to fix this issue in #15082 but that PR didn't work out
due to some other concerns (I can't remember all the details now).
@cloud-fan, any ideas about improving `ObjectHashAggregateExec` (e.g.
adding code generation support)?
[1]:
https://github.com/apache/spark/blob/03367d7aa3acd3abbcacba57ea75c8efa2a9a794/sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/ObjectAggregationIterator.scala#L154
---
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]