parthchandra opened a new issue, #5343:
URL: https://github.com/apache/datafusion-comet/issues/5343

   ### What is the problem the feature request solves?
   
   Follow up for #5323
   
   The merge opens every file in the partition at once, and each open file 
allocates an Arrow read buffer. Partitions with a very large number of files 
can run out of memory on large datasets.
   
   
   
   ### Describe the potential solution
   
   read a fixed number of files at a time instead of all of them, and order 
which files to read first by some stats (or another signal), while still 
producing correct merged order.
   
   
   ### 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: [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