-
Notifications
You must be signed in to change notification settings - Fork 8
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
Enable conditional_put for s3 by default #221
Comments
Can you link to the delta-rs PR? I'm not the most knowledgeable about conditional puts and I don't know what would change. |
Enabling it means, you can do a put request with PutMode |
I glanced through that PR but still don't know what would change in obstore. This is what I currently expose in the config: https://developmentseed.org/obstore/latest/api/store/aws/#obstore.store.S3Config.conditional_put so to enable conditional put currently you'd use S3Store(..., conditional_put="etag") is that correct? |
Is there upstream discussion about making that the default behavior for |
Correct, we opted to insert these flags by default.
I think in the original PR when support was added for this, they left it off by default since it wasn't fully supported, but to my understanding this fully support by AWS was added couple months later? I think we should check with @tustvold |
I'm inclined to wait and follow whatever defaults |
https://github.com/apache/arrow-rs/blob/1019f5b27d3596077bcdd7e10b67e2c6d4cfbf02/object_store/src/aws/precondition.rs#L133-L138 this docstring should probably be updated to include native Maybe we should discuss assigning |
This is something we did in delta-rs, since all known S3 stores have this support now.
Let me know what you think @kylebarron
The text was updated successfully, but these errors were encountered: