2010YOUY01 opened a new issue, #16907: URL: https://github.com/apache/datafusion/issues/16907
### Is your feature request related to a problem or challenge? follow-up to: https://github.com/apache/datafusion/pull/15700 This is a simple clean-up idea, see the original discussion in: https://github.com/apache/datafusion/pull/15700#discussion_r2217234124 `spill_record_batch_by_size_and_return_max_batch_memory()` and `spill_record_batch_by_size()` can be combined to re-use the code (perhaps only keep the first one) ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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.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