You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2021/12/03 13:18:00 UTC
[jira] [Resolved] (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 ]
Wenchen Fan resolved SPARK-37455.
---------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
Issue resolved by pull request 34702
[https://github.com/apache/spark/pull/34702]
> 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: Apache Spark
> Priority: Minor
> 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.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org