forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-6567: [Rust] [DataFusion] Wrap aggregate in projection when needed
This PR fixes a long standing bug where it was assumed that aggregate queries would always have a projection listing grouping expressions before aggregate expressions. The SQL query planner now wraps the aggregate query in a projection, when needed, to preserve the intended column order. I also fixed a couple of non deterministic tests. Closes apache#5639 from andygrove/ARROW-6567 and squashes the following commits: 46b9ee3 <Andy Grove> fix non deterministic tests 439f190 <Andy Grove> Wrap aggregate in projection if needed Authored-by: Andy Grove <[email protected]> Signed-off-by: Andy Grove <[email protected]>
- Loading branch information
Showing
2 changed files
with
86 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters