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

Error reading V2 UUID-named checkpoint #3215

Open
zeevm opened this issue Feb 14, 2025 · 0 comments · May be fixed by #3222
Open

Error reading V2 UUID-named checkpoint #3215

zeevm opened this issue Feb 14, 2025 · 0 comments · May be fixed by #3222
Assignees
Labels
binding/rust Issues for the Rust crate bug Something isn't working

Comments

@zeevm
Copy link

zeevm commented Feb 14, 2025

The log segment code for looking up checkpoint files defines in log_segment.rs
static CHECKPOINT_FILE_PATTERN: LazyLock<Regex> = LazyLock::new(|| Regex::new(r"\d+\.checkpoint(\.\d+\.\d+)?\.parquet").unwrap());

It doesn't properly parse a UUID-named Checkpoint like: 00000000000000000010.checkpoint.80a083e8-7026-4e79-81be-64bd76c43a11.json

So these checkpoints aren't recognized as such and when trying to open a table we get something like:
Error: MetadataError("Number of checkpoint files '0' is not equal to number of checkpoint metadata parts 'None'")

@zeevm zeevm added the bug Something isn't working label Feb 14, 2025
@zeevm zeevm changed the title V2 checkpoints in .json files are broken Error reading V2 UUID-named checkpoint Feb 14, 2025
@zeevm zeevm linked a pull request Feb 16, 2025 that will close this issue
@rtyler rtyler added the binding/rust Issues for the Rust crate label Feb 18, 2025
@rtyler rtyler self-assigned this Feb 18, 2025
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 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants