Skip to content

test(table): strengthen same-snapshot equality delete coverage - #1653

Merged
zeroshade merged 1 commit into
apache:mainfrom
fallintoplace:test/equality-delete-same-snapshot
Aug 7, 2026
Merged

test(table): strengthen same-snapshot equality delete coverage#1653
zeroshade merged 1 commit into
apache:mainfrom
fallintoplace:test/equality-delete-same-snapshot

Conversation

@fallintoplace

@fallintoplace fallintoplace commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Strengthen coverage for equality deletes from the same snapshot as their data file.

Why

The old test accepted any non-empty scan result, so it could pass even if a same-snapshot equality delete removed one of the rows.

What changed

The fixture now writes a real data file with table.WriteRecords, adds the data file and equality delete in one RowDelta, and verifies that both IDs remain visible.

Tests

  • go test ./table -run '^TestEqualityDeleteDoesNotAffectSameSnapshot$' -count=1
  • go test ./table -count=1
  • git diff --check

@zeroshade
zeroshade merged commit e6aba14 into apache:main Aug 7, 2026
15 checks passed
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.

2 participants