Skip to content

Commit 28253cb

Browse files
committed
update test
1 parent 64dfe56 commit 28253cb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/integration/test_statistics_operations.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,10 @@ def create_statistics_file(snapshot_id: int, type_name: str) -> StatisticsFile:
8282
update.remove_statistics(add_snapshot_id_1)
8383

8484
assert len(tbl.metadata.statistics) == 1
85+
86+
with tbl.transaction() as txn:
87+
with txn.update_statistics() as update:
88+
update.set_statistics(statistics_file_snap_1)
89+
update.set_statistics(statistics_file_snap_2)
90+
91+
assert len(tbl.metadata.statistics) == 2

0 commit comments

Comments
 (0)