This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new ca6a8dbc7a [doc] Add rename_tag for python doc (#7345)
ca6a8dbc7a is described below

commit ca6a8dbc7a2018978ac44db60d93c6d555bc88f4
Author: xuzifu666 <[email protected]>
AuthorDate: Thu Mar 5 20:06:01 2026 +0800

    [doc] Add rename_tag for python doc (#7345)
---
 docs/content/pypaimon/manage-tags.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/content/pypaimon/manage-tags.md 
b/docs/content/pypaimon/manage-tags.md
index d3962121e8..123ac0dd8f 100644
--- a/docs/content/pypaimon/manage-tags.md
+++ b/docs/content/pypaimon/manage-tags.md
@@ -43,6 +43,16 @@ table.delete_tag("tag2")  # delete tag2
 
 If snapshot_id unset, snapshot_id defaults to the latest.
 
+## Rename Tag
+
+You can rename a tag to a new name.
+
+```python
+
+table = catalog.get_table('database_name.table_name')
+table.rename_tag("old_tag", "new_tag")  # rename old_tag to new_tag
+```
+
 ## Read Tag
 You can read data from a specific tag.
 ```python

Reply via email to