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

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

Cheng Su created SPARK-37564:
--------------------------------

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


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