ding-young commented on PR #15700:
URL: https://github.com/apache/datafusion/pull/15700#issuecomment-3021762356

   Hi @adriangb, thanks for raising this point. I'm currently reviewing both 
this PR and the other cascading merge sort PR 
(https://github.com/apache/datafusion/pull/15610). I'm not taking sides between 
the two approaches, but I agree that accurately estimating memory consumption 
is tricky considering issues discussed above and the fact that now compression 
is supported in spill files. We may need to think more about whether we can 
special-case scenarios where the memory size changes after spilling and 
reloading, or perhaps add some kind of backup logic to handle such situations 
more gracefully. 


-- 
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-unsubscr...@datafusion.apache.org

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


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

Reply via email to