jychen7 commented on a change in pull request #519: URL: https://github.com/apache/arrow-datafusion/pull/519#discussion_r647001642
########## File path: datafusion/src/sql/planner.rs ########## @@ -2319,6 +2320,16 @@ mod tests { ); } + #[test] + fn select_simple_aggregate_with_groupby_can_use_positions() { + quick_test( + "SELECT state, age AS b, COUNT(1) FROM person GROUP BY 1, 2", + "Projection: #state, #age AS b, #COUNT(UInt8(1))\ + \n Aggregate: groupBy=[[#state, #age]], aggr=[[COUNT(UInt8(1))]]\ + \n TableScan: person projection=None", + ); + } Review comment: done at c86c061f0653b7af2ec4d5e1d1f2ae94935344dc -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org