JunRuiLee opened a new pull request, #7904: URL: https://github.com/apache/paimon/pull/7904
### Purpose Java supports replacing an existing tag with a new snapshot via Table.replaceTag() and Spark's ReplaceTagProcedure. pypaimon currently lacks this capability. Users who want to update a tag (e.g. periodically refreshing a latest-prod tag to point to the newest snapshot) must delete and re-create it, leaving a window where the tag does not exist. replace_tag provides atomic replacement semantics. ### Tests - Replace an existing tag to a specified snapshot_id - Replace with snapshot_id=None uses the latest snapshot - Replacing a non-existent tag raises ValueError - Replacing with a non-existent snapshot_id raises ValueError -- 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]
