james-rms commented on issue #504:
URL: 
https://github.com/apache/arrow-rs-object-store/issues/504#issuecomment-3399070245

   wrt. sanity, I deal in >100GB files regularly in my day job. I agree it's 
niche.
   
   wrt. the API, an alternative I can think of is to add an opaque 
`put_streaming` API. This would have the signature:
   ```rust
   trait ObjectStore{
     ..
     fn put_streaming(&self, location: &Path, opts: &StreamingPutOpts) -> 
StreamingPut;
   }
   
   struct StreamingPut {
     ..
   }
   
   impl StreamingPut {
     async fn append(&mut self, bytes: Bytes) -> Result<...>
     async fn close(self) -> Result<...>
   }
   ```
   
   This could be backed by MultiPartUpload by default, but could be specialized 
for GCP and local filesystem writes.


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