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 2024/11/19 11:55:00 UTC

[jira] [Updated] (SPARK-37455) Replace hash with sort aggregate if child is already sorted

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

ASF GitHub Bot updated SPARK-37455:
-----------------------------------
    Labels: pull-request-available  (was: )

> Replace hash with sort aggregate if child is already sorted
> -----------------------------------------------------------
>
>                 Key: SPARK-37455
>                 URL: https://issues.apache.org/jira/browse/SPARK-37455
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Cheng Su
>            Assignee: Cheng Su
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.3.0
>
>
> In the query plan, if the child of hash aggregate is already sorted on group-by columns, we can replace hash aggregate with sort aggregate for better performance, as sort aggregate does not have hashing overhead of hash aggregate.



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