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 6659eed93 [doc] Document branches system table. (#3784)
6659eed93 is described below

commit 6659eed9302bd82e077ae8ea1f13e0a749a0724f
Author: HunterXHunter <[email protected]>
AuthorDate: Fri Jul 19 09:59:03 2024 +0800

    [doc] Document branches system table. (#3784)
---
 docs/content/maintenance/system-tables.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/docs/content/maintenance/system-tables.md 
b/docs/content/maintenance/system-tables.md
index f86bf3505..cc542697a 100644
--- a/docs/content/maintenance/system-tables.md
+++ b/docs/content/maintenance/system-tables.md
@@ -208,6 +208,24 @@ SELECT * FROM my_table$tags;
 */
 ```
 
+### Branches Table
+
+You can query the branches of the table.
+
+```sql
+SELECT * FROM my_table$branches;
+
+/*
++----------------------+---------------------------+--------------------------+-------------------------+
+|          branch_name |          created_from_tag |    created_from_snapshot 
|             create_time |
++----------------------+---------------------------+--------------------------+-------------------------+
+|              branch1 |                    tag1   |                        2 
| 2024-07-18 20:31:39.084 |
+|              branch2 |                    tag2   |                        5 
| 2024-07-18 21:11:14.373 |
++----------------------+---------------------------+--------------------------+-------------------------+
+2 rows in set
+*/
+```
+
 ### Consumers Table
 
 You can query all consumers which contains next snapshot.

Reply via email to