The GitHub Actions job "Python CI" on 
iceberg-python.git/feat-compaction-issue-1092 has failed.
Run started by GitHub user qzyu999 (triggered by qzyu999).

Head commit for run:
5c8dc67e1ec2ab0dc68d036df2bab42fa2755ffe / Jared Yu <[email protected]>
Add table.maintenance.compact() for full-table data file compaction

This introduces a simplified, whole-table compaction strategy via the
MaintenanceTable API (`table.maintenance.compact()`).

Key implementation details:
- Reads the entire table state into memory via `.to_arrow()`.
- Uses `table.overwrite()` to rewrite data, leveraging PyIceberg's
  target file bin-packing (`write.target-file-size-bytes`) natively.
- Ensures atomicity by executing within a table transaction.
- Explicitly sets `snapshot-type: replace` and `replace-operation: compaction`
  to ensure correct metadata history for downstream engines.
- Includes a guard to safely ignore compaction requests on empty tables.

Includes full Pytest coverage in `tests/table/test_maintenance.py`.
Closes #1092

Report URL: https://github.com/apache/iceberg-python/actions/runs/22750771473

With regards,
GitHub Actions via GitBox

Reply via email to