Skip to content

fix: compare all snapshot fields - #844

Closed
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/compare-complete-snapshots
Closed

fix: compare all snapshot fields#844
fallintoplace wants to merge 1 commit into
apache:mainfrom
fallintoplace:fix/compare-complete-snapshots

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

Snapshot::Equals compares IDs, sequence metadata, schema, and row-lineage fields, but it currently ignores the manifest list and summary. As a result, snapshots that point to different manifests or describe different operations can compare equal. This also weakens equality-based REST update round-trip checks.

Include manifest_list and summary in snapshot equality and add regression coverage for both fields.

Tested with:

  • table_test --gtest_filter=SnapshotTest.EqualityComparison
  • full CTest suite (17 test binaries)

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.

1 participant