tustvold opened a new issue, #9614:
URL: https://github.com/apache/arrow-datafusion/issues/9614

   ### Is your feature request related to a problem or challenge?
   
   Currently in many places we use put_multipart for streaming writes. When 
writing files smaller than 10MiB this is wasteful, as it performs 3 requests 
when 1 would suffice.
   
   ### Describe the solution you'd like
   
   object_store 0.9.1 added 
https://docs.rs/object_store/latest/object_store/buffered/struct.BufWriter.html 
which can automatically switch between using Put and PutMultipart based on the 
amount of data that has been written
   
   ### Describe alternatives you've considered
   
   We could implement our own adaptive logic in the write path within DF
   
   ### Additional context
   
   A future version of object_store is likely to significantly change 
put_multipart, and using BufWriter will limit the impact of this - 
https://github.com/apache/arrow-rs/pull/5500


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

Reply via email to