Skip to content

Error reading V2 UUID-named checkpoint #3215

@zeevm

Description

@zeevm

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'")

Metadata

Metadata

Assignees

Labels

binding/rustIssues for the Rust cratebugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions