Weston Pace created ARROW-17245:
-----------------------------------
Summary: [C++] Substrait aggregate rel has incorrect output order
Key: ARROW-17245
URL: https://issues.apache.org/jira/browse/ARROW-17245
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Weston Pace
The output order for a Substrait aggregate is:
{quote}
The list of distinct columns from each grouping set (ordered by their first
appearance) followed by the list of measures in declaration order
{quote}
However, the current aggregate node in Acero emits measures first and grouping
set second. This could be fixed with a supplementary project but it seems
simpler to modify the aggregate node itself. However, this would be a
backwards incompatible change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)