You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/04/23 09:02:00 UTC
[jira] [Commented] (SPARK-43232) Improve ObjectHashAggregateExec performance for high cardinality
[ https://issues.apache.org/jira/browse/SPARK-43232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17715417#comment-17715417 ]
ASF GitHub Bot commented on SPARK-43232:
----------------------------------------
User 'ulysses-you' has created a pull request for this issue:
https://github.com/apache/spark/pull/40915
> Improve ObjectHashAggregateExec performance for high cardinality
> ----------------------------------------------------------------
>
> Key: SPARK-43232
> URL: https://issues.apache.org/jira/browse/SPARK-43232
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.5.0
> Reporter: XiDuo You
> Priority: Major
>
> The `ObjectHashAggregateExec` has three preformance issues:
> - heavy overhead of scala sugar in `createNewAggregationBuffer`
> - unnecessary grouping key comparation after fallback to sort based aggregator
> - the aggregation buffer in sort based aggregator is not reused for all rest rows
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org