shangxinli opened a new pull request, #350: URL: https://github.com/apache/iceberg-cpp/pull/350
Add the ExpireSnapshots interface for removing old snapshots from tables. This interface extends PendingUpdate directly and provides methods for: - ExpireSnapshotId: Expire specific snapshots by ID - ExpireOlderThan: Expire snapshots older than a timestamp - RetainLast: Keep N most recent snapshots - DeleteWith: Custom file deletion callback - CleanupLevel: Control cleanup scope (none, metadata only, or all) The implementation includes comprehensive tests that verify behavior through the public API and follows the Java Iceberg API design. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
