[ https://issues.apache.org/jira/browse/ARROW-6567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-6567: ---------------------------------- Labels: pull-request-available (was: ) > [Rust] [DataFusion] SQL aggregate query execution assume grouping expressions > precede aggregate expressions > ----------------------------------------------------------------------------------------------------------- > > Key: ARROW-6567 > URL: https://issues.apache.org/jira/browse/ARROW-6567 > Project: Apache Arrow > Issue Type: Bug > Components: Rust, Rust - DataFusion > Affects Versions: 0.15.0 > Reporter: Andy Grove > Assignee: Andy Grove > Priority: Major > Labels: pull-request-available > Fix For: 1.0.0 > > > Aggregate SQL queries produce incorrect results unless the query is written > with grouping expressions followed by aggregate expressions. > For example, the following queries return the exact same result set: > {code:java} > SELECT a, SUM(b) FROM test GROUP BY a > SELECT SUM(b), a FROM test GROUP BY a{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)