ariel-miculas commented on PR #15591:
URL: https://github.com/apache/datafusion/pull/15591#issuecomment-5515893865

   Why do you need `EmitTo::Last` for this? Can't you simply keep producing the 
large RecordBatch as it's being done now (via EmitTo::All or EmitTo::First(n) 
in case of partial aggregation early emit, where n is very close to the total 
number of groups) and simply create separate allocations for the individual 
Record Batches instead of slicing them?


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to