Skip to content

Commit 9fd51a8

Browse files
committed
docs: update compact() docstring to include delete files
1 parent dfbde71 commit 9fd51a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyiceberg/table/maintenance.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def expire_snapshots(self) -> ExpireSnapshots:
4545
return ExpireSnapshots(transaction=Transaction(self.tbl, autocommit=True))
4646

4747
def compact(self) -> None:
48-
"""Compact the table's data files by reading and overwriting the entire table.
48+
"""Compact the table's data and delete files by reading and overwriting
49+
the entire table.
4950
5051
Note: This is a full-table compaction that leverages Arrow for binpacking.
5152
It currently reads the entire table into memory via `.to_arrow()`.

0 commit comments

Comments
 (0)