shangxinli opened a new pull request, #351: URL: https://github.com/apache/iceberg-cpp/pull/351
Add the ManageSnapshots interface for managing snapshots, branches, and tags in tables. This interface extends PendingUpdate directly and provides methods for: Snapshot operations: - SetCurrentSnapshot: Roll back to specific snapshot - RollbackToTime: Roll back to snapshot before timestamp - RollbackTo: Roll back to ancestor snapshot - Cherrypick: Apply changes from orphan snapshot Branch operations: - CreateBranch: Create new branch - RemoveBranch: Remove branch - RenameBranch: Rename branch - ReplaceBranch: Replace branch pointer - FastForwardBranch: Fast-forward branch Tag operations: - CreateTag: Create new tag - RemoveTag: Remove tag - ReplaceTag: Replace tag pointer Retention policies: - SetMinSnapshotsToKeep: Set minimum snapshots to retain - SetMaxSnapshotAgeMs: Set maximum snapshot age - SetMaxRefAgeMs: Set maximum reference age 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]
