yashdotrv commented on issue #26705:
URL: https://github.com/apache/datafusion/issues/26705#issuecomment-6655548012

   @jayzhan211, my understanding is that the partial aggregate releases its 
reservation after emitting a state batch, while the final aggregate accounts 
for that memory only after merging it. I’d reproduce this with the 
multi-partition median and array_agg cases, then reserve incoming state before 
the merge and check when that reservation can be released. If it’s still 
available, and the approach sound right, I would like to work on this. Also, if 
I've missed anything, let me know!


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