Skip to content

Commit b4e696c

Browse files
Drop redundant comment on the compaction guard assert
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 99dcfb5 commit b4e696c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/integration/test_reads.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,10 +1319,6 @@ def test_incremental_append_scan_does_not_double_count_compacted_files(catalog:
13191319
# compacts them into a single rewritten file. A scan spanning the compaction must read each
13201320
# appended row exactly once -- the rewritten file (added by the compaction, not by an append)
13211321
# must not be picked up on top of the originals.
1322-
#
1323-
# Guard the fixture: rewrite_data_files is a no-op (no snapshot) when there's nothing to
1324-
# compact, which would silently shift the indices and make this test scan to the wrong
1325-
# snapshot. Assert snapshots[3] really is the compaction.
13261322
assert test_table.snapshots()[3].summary.operation == Operation.REPLACE # type: ignore[union-attr]
13271323

13281324
scan = test_table.incremental_append_scan(

0 commit comments

Comments
 (0)