You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/12/07 05:25:00 UTC

[jira] [Commented] (SPARK-37564) Support sort aggregate code-gen without grouping keys

    [ https://issues.apache.org/jira/browse/SPARK-37564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454378#comment-17454378 ] 

Apache Spark commented on SPARK-37564:
--------------------------------------

User 'c21' has created a pull request for this issue:
https://github.com/apache/spark/pull/34826

> Support sort aggregate code-gen without grouping keys
> -----------------------------------------------------
>
>                 Key: SPARK-37564
>                 URL: https://issues.apache.org/jira/browse/SPARK-37564
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Cheng Su
>            Priority: Minor
>
> We can support `SortAggregateExec` code-gen without grouping keys. When there's no grouping key, sort aggregate should share same execution logic with hash aggregate. Refactor the code-gen without grouping keys, from `HashAggregateExec` to a base class `AggregateCodegenSupport`, and `SortAggregateExec` can share the same implementation by extending `AggregateCodegenSupport`.
> The implementation of `SortAggregateExec` code-gen with grouping keys will be added in follow-up PR.



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