Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option To Use ObjectStore Conditional Put #2296

Open
tustvold opened this issue Mar 17, 2024 · 0 comments
Open

Option To Use ObjectStore Conditional Put #2296

tustvold opened this issue Mar 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tustvold
Copy link

tustvold commented Mar 17, 2024

Description

Currently delta-rs creates a new transaction log entry, and then moves it into place with copy_if_not_exists.

apache/arrow-rs#4879 added support in ObjectStore for conditional PUT, including PutIfNotExists.

Use Case

This would have a couple of potentially compelling advantages over using CopyIfNotExists:

  • Two fewer request to object storage (Copy + Delete)
  • Natively supported by many stores, including Minio, which doesn't support CopyIfNotExists
  • No risk of leaving unreferenced files around from failed transactions

Related Issue(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant