You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "XiDuo You (Jira)" <ji...@apache.org> on 2023/04/23 08:31:00 UTC

[jira] [Updated] (SPARK-43232) Improve ObjectHashAggregateExec performance for high cardinality

     [ https://issues.apache.org/jira/browse/SPARK-43232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

XiDuo You updated SPARK-43232:
------------------------------
    Summary: Improve ObjectHashAggregateExec performance for high cardinality  (was: Improve ObjectHashAggregateExec performance with high cardinality)

> 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 actually reused
>  



--
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