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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org