RFC-2133: Introduce Append API#2133
Merged
Xuanwo merged 5 commits intoapache:mainfrom Apr 29, 2023
Merged
Conversation
Xuanwo
reviewed
Apr 26, 2023
Xuanwo
reviewed
Apr 26, 2023
2da03e4 to
b0b0d0b
Compare
Xuanwo
reviewed
Apr 27, 2023
Xuanwo
reviewed
Apr 28, 2023
11 tasks
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Discussed in #2115
Originally posted by ShadowySpirits April 25, 2023
OpenDAL provides append-alike operation, which is based on multipart API. But this approach has some limitations:
Currently, there are not many docs about this. To ensure proper usage, it is important to inform users about these risks. Furthermore, for services that support append API natively, using append API instead of multipart API is a better choice.
I propose to separate the write and append operations. The files created by the write operation can not be modified. And the files created by the append operation can be appended via multipart API or append API for services that natively support append, such as Azure blob and Alibaba cloud OSS.