ForeverAngry opened a new pull request, #2143: URL: https://github.com/apache/iceberg-python/pull/2143
<!-- Thanks for opening a pull request! --> <!-- In the case this PR will resolve an issue, please replace ${GITHUB_ISSUE_ID} below with the actual Github issue id. --> <!-- Closes #2142 --> # Rationale for this change Consolidates snapshot expiration functionality from the standalone `ExpireSnapshots` class into the `MaintenanceTable` class for a unified maintenance API. This was planned work left over from #1880. # Are these changes tested? Yes - but the pr is predicated on the final changes from #1200. # Are there any user-facing changes? Breaking Changes - ✅ Move `ExpireSnapshots` functionality to `MaintenanceTable` - ✅ Replace fluent API with direct execution pattern - ✅ Remove `ExpireSnapshots` class entirely - ✅ Update all tests to use new `table.maintenance.*` API - ✅ Maintain all existing validation and protection logic ## API Changes **Before:** ```python table.expire_snapshots().expire_snapshot_by_id(snapshot_id).commit() ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org