jayzhan211 commented on code in PR #8439:
URL: https://github.com/apache/arrow-datafusion/pull/8439#discussion_r1417454320


##########
datafusion/core/tests/data/aggregate_agg_multi_order.csv:
##########
@@ -0,0 +1,11 @@
+c1,c2,c3
+1,20,0
+2,20,1
+3,10,2
+4,10,3
+5,30,4
+6,30,5
+7,30,6
+8,30,7
+9,30,8
+10,10,9

Review Comment:
   Normal table
   ```
   logical_plan
   Aggregate: groupBy=[[]], aggr=[[ARRAY_AGG(arrays.column1) ORDER BY 
[arrays.column1 ASC NULLS LAST]]]
   --TableScan: arrays projection=[column1]
   physical_plan
   AggregateExec: mode=Single, gby=[], aggr=[ARRAY_AGG(arrays.column1)]
   --SortExec: expr=[column1@0 ASC NULLS LAST]
   ----MemoryExec: partitions=1, partition_sizes=[1]
   ```
   
   AggregateExec: mode is Single, so run `update_batch`.
   



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to