You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "naman-modi (via GitHub)" <gi...@apache.org> on 2026/07/22 13:16:53 UTC

Re: [I] [EPIC] Split Aggregation Logic into Dedicated Streams [datafusion]

naman-modi commented on issue #22710:
URL: https://github.com/apache/datafusion/issues/22710#issuecomment-5046250224

   Hey @2010YOUY01, this refactor looks really interesting and I'd like to contribute.
   
   I went through the EPIC and the code, and can see #23657 adds spilling for the ordered partial/final streams and drops the `MemoryLimit::Finite` bail for those two `should_use_*` gates.  Since the PR notes that ordered spilling is the groundwork the other modes reuse, the unordered paths (like should_use_partial_hash_stream, final_hash_stream, single_hash_stream) still fall back to `GroupedHashAggregateStream` under a memory limit.
   
   Is this something I can pick up: unordered Partial or Single spilling; reusing the ordered larger-than-memory logic from #23657 and dropping the `Finite` bail? If it collides with your in-flight work, pls point me at whatever's most helpful instead, thanks!


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org