Skip to content

Add SnapshotValidator#2406

Open
Shekharrajak wants to merge 2 commits intoapache:mainfrom
Shekharrajak:feat/2243-snapshot-validator
Open

Add SnapshotValidator#2406
Shekharrajak wants to merge 2 commits intoapache:mainfrom
Shekharrajak:feat/2243-snapshot-validator

Conversation

@Shekharrajak
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #2243
Towards #1607

What changes are included in this PR?

Adds SnapshotValidator, a pub(crate) trait that future write actions (RewriteFiles, RowDelta, OverwriteFiles) implement to detect concurrent writes that would invalidate the commit. Mirrors the Java MergingSnapshotProducer validation surface (validateNoNewDeletesForDataFiles, validationHistory).

Are these changes tested?

unit tests in crates/iceberg/src/transaction/validate.rs

@Shekharrajak Shekharrajak changed the title add SnapshotValidator Add SnapshotValidator May 6, 2026
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 this pull request may close these issues.

Implement SnapshotValidator

1 participant