diff --git a/docs/content/flink/procedures.md b/docs/content/flink/procedures.md
index 3fae9b40512f..6209791b876a 100644
--- a/docs/content/flink/procedures.md
+++ b/docs/content/flink/procedures.md
@@ -308,22 +308,18 @@ All available procedures are listed below.
create_branch |
- -- based on the specified snapshot
- CALL [catalog.]sys.create_branch('identifier', 'branchName', snapshotId)
-- based on the specified tag
CALL [catalog.]sys.create_branch('identifier', 'branchName', 'tagName')
-- create empty branch
CALL [catalog.]sys.create_branch('identifier', 'branchName')
|
- To create a branch based on given snapshot / tag, or just create empty branch. Arguments:
+ To create a branch based on given tag, or just create empty branch. Arguments:
identifier: the target table identifier. Cannot be empty.
branchName: name of the new branch.
- snapshotId (Long): id of the snapshot which the new branch is based on.
tagName: name of the tag which the new branch is based on.
|
- CALL sys.create_branch('default.T', 'branch1', 10)
CALL sys.create_branch('default.T', 'branch1', 'tag1')
CALL sys.create_branch('default.T', 'branch1')
|
diff --git a/docs/content/maintenance/manage-branches.md b/docs/content/maintenance/manage-branches.md
index 22ca9b8507d0..628caf1b54a2 100644
--- a/docs/content/maintenance/manage-branches.md
+++ b/docs/content/maintenance/manage-branches.md
@@ -46,9 +46,6 @@ Run the following sql:
-- create branch named 'branch1' from tag 'tag1'
CALL sys.create_branch('default.T', 'branch1', 'tag1');
--- create branch named 'branch1' from snapshot 1
-CALL sys.create_branch('default.T', 'branch1', 1);
-
-- create empty branch named 'branch1'
CALL sys.create_branch('default.T', 'branch1');
```
@@ -67,7 +64,6 @@ Run the following command:
--table \
--branch_name \
[--tag_name ] \
- [--snapshot ] \
[--catalog_conf [--catalog_conf ...]]
```
{{< /tab >}}
diff --git a/docs/content/spark/procedures.md b/docs/content/spark/procedures.md
index c3b6292c71d6..9a53a79eecd9 100644
--- a/docs/content/spark/procedures.md
+++ b/docs/content/spark/procedures.md
@@ -171,12 +171,10 @@ This section introduce all available spark procedures about paimon.
table: the target table identifier. Cannot be empty.
branch: name of the branch to be merged.
tag: name of the new tag. Cannot be empty.
- snapshot(Long): id of the snapshot which the new tag is based on.
CALL sys.create_branch(table => 'test_db.T', branch => 'test_branch')
CALL sys.create_branch(table => 'test_db.T', branch => 'test_branch', tag => 'my_tag')
- CALL sys.create_branch(table => 'test_db.T', branch => 'test_branch', snapshot => 10)
|