You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kristopher Kane (Jira)" <ji...@apache.org> on 2023/05/25 14:45: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=17726260#comment-17726260 ] 

Kristopher Kane commented on SPARK-43232:
-----------------------------------------

Yes, a college pointed out last night that I had missed that in the window spec.

> 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