Add ObjectStore::put_multipart_opts #5435
Labels
development-process
Related to development process of arrow-rs
enhancement
Any new improvement worthy of a entry in the changelog
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Following #4984 added
ObjectStore::put_opts
taking aPutOptions
containing aPutMode
. #4999 extended this to support specifying aTagSet
. #5334 proposes extending this to support broader categories of metadata.Whilst
PutMode
does not apply toput_multipart
, as no stores AFAIK support conditional multipart uploads, butTagSet
andAttributes
would be applicable to multipart uploads, as pointed out by @Xuanwo on #5431 (comment)Describe the solution you'd like
I would propose introducing a new
PutMultipartOptions
and a correspondingObjectStore::put_multipart_opts
, with a default implementation ofObjectStore::put_multipart
calling through withPutMultipartOptions::default()
.Describe alternatives 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
The text was updated successfully, but these errors were encountered: