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

StorageError::NotFound is not returned by head_obj on missing object #103

Closed
mosyp opened this issue Mar 3, 2021 · 0 comments · Fixed by #104
Closed

StorageError::NotFound is not returned by head_obj on missing object #103

mosyp opened this issue Mar 3, 2021 · 0 comments · Fixed by #104

Comments

@mosyp
Copy link
Contributor

mosyp commented Mar 3, 2021

StorageError::NotFound error is not produced by error handlers https://github.com/delta-io/delta-rs/blob/main/rust/src/storage/mod.rs#L222 due to upstream issue rusoto/rusoto#716 where HeadObjectError::NoSuchKey is not returned as expected for missing object.

I reproduced issue only with head_obj call. It seems that rusoto tries to parse response body for HEAD call, however it is empty

@mosyp mosyp changed the title StorageError::AlreadyExists is ignored StorageError::NotFound is ignored Mar 3, 2021
@mosyp mosyp changed the title StorageError::NotFound is ignored StorageError::NotFound is not returned by head_obj on missing object Mar 3, 2021
@houqp houqp closed this as completed in #104 Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant