BearMinimum98 opened a new pull request, #754:
URL: https://github.com/apache/arrow-rs-object-store/pull/754
# Which issue does this PR close?
Adds `PutMultipartOptions` support to the low-level `MultipartStore` create
flow via a new `create_multipart_opts` method.
This is implemented for AWS, GCP, in-memory, and wrapper stores. Azure
returns `NotSupported` for non-default tags/attributes because Azure applies
these options when finalizing block uploads, not when creating them. Supporting
this in the low-level API would require local upload state, which could leak if
uploads are never completed or aborted.
Closes #745
# Rationale for this change
<!--
Why are you proposing this change? If this is already explained clearly in
the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand your
changes and offer better suggestions for fixes.
-->
See issue.
# What changes are included in this PR?
<!--
There is no need to duplicate the description in the issue here but it is
sometimes worth providing a summary of the individual changes in this PR.
-->
* Adds `MultipartStore::create_multipart_opts`
* For AWS/GCP, passes options through to the backend client
* For `PrefixStore`/`ThrottledStore`, delegates options to the wrapped
multipart store
* For in-memory, stores attributes in `PartStorage` until completion
* For Azure, returns `NotSupported` for non-default tags/attributes
# Are there any user-facing changes?
<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->
Yes. `MultipartStore` has a new default method, `create_multipart_opts`, so
existing implementations remain source-compatible.
<!---
If there are any breaking changes to public APIs, please call them out.
-->
There are no breaking changes to the public API; the new method has a
default implementation.
--
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]