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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   
   Following #4984 added `ObjectStore::put_opts` taking a `PutOptions` 
containing a `PutMode`. #4999 extended this to support specifying a `TagSet`. 
#5334 proposes extending this to support broader categories of metadata.
   
   Whilst `PutMode` does not apply to `put_multipart`, as no stores AFAIK 
support conditional multipart uploads, but `TagSet` and `Attributes` would be 
applicable to multipart uploads, as pointed out by @Xuanwo on 
https://github.com/apache/arrow-rs/pull/5431#discussion_r1502309316
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   I would propose introducing a new `PutMultipartOptions` and a corresponding 
`ObjectStore::put_multipart_opts`, with a default implementation of 
`ObjectStore::put_multipart` calling through with 
`PutMultipartOptions::default()`.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   We could not do this, however, this would create an unfortunate bifurcation 
in functionality between multipart and non-multipart uploads.
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


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