We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64dfe56 commit 28253cbCopy full SHA for 28253cb
1 file changed
tests/integration/test_statistics_operations.py
@@ -82,3 +82,10 @@ def create_statistics_file(snapshot_id: int, type_name: str) -> StatisticsFile:
82
update.remove_statistics(add_snapshot_id_1)
83
84
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