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

fix: return error when checkpoints and metadata get out of sync #2406

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

esarili
Copy link
Contributor

@esarili esarili commented Apr 10, 2024

Description

When a table is corrupted and _last_checkpoint file points to a
version that has been deleted, list_log_files_with_checkpoint
function panics. With this change list_log_files_with_checkpoint
function returns an error allowing callers react to such issues.

Related Issue(s)

When a table is corrupted and `_last_checkpoint` file points to a
version that has been deleted, `list_log_files_with_checkpoint`
function panics. With this change `list_log_files_with_checkpoint`
function returns an error allowing callers react to such issues.

- delta-io#2290
@github-actions github-actions bot added the binding/rust Issues for the Rust crate label Apr 10, 2024
Copy link
Collaborator

@ion-elgreco ion-elgreco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ion-elgreco ion-elgreco enabled auto-merge (squash) April 10, 2024 15:04
@esarili
Copy link
Contributor Author

esarili commented Apr 11, 2024

Looks like mac os build has failed but I doubt it is related to my changes:
https://github.com/delta-io/delta-rs/actions/runs/8629797389/job/23666509944?pr=2406#step:4:1766

I am running on mac and cargo test --verbose --features datafusion,azure doesn't fail for me

@ion-elgreco ion-elgreco merged commit 3094bd2 into delta-io:main Apr 11, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants