You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ge...@apache.org on 2020/04/27 10:12:39 UTC

[incubator-iotdb] 01/01: add show child paths.

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

geniuspig pushed a commit to branch add_document
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 3ccd7b36b2f81549acecd55d35bb52145c818a83
Author: zhutianci <zh...@gmail.com>
AuthorDate: Mon Apr 27 18:11:21 2020 +0800

    add show child paths.
---
 .../1-DDL Data Definition Language.md                | 19 +++++++++++++++++++
 .../1-DDL Data Definition Language.md                | 20 ++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/docs/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md b/docs/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md
index 61bf416..90d6029 100644
--- a/docs/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md	
+++ b/docs/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md	
@@ -165,6 +165,25 @@ The results are shown below respectly:
   
 It is worth noting that when the queried path does not exist, the system will return no timeseries.  
 
+## Show Child Path
+
+```
+IoTDB> SHOW CHILD PATHS root.ln
+```
+
+You will get results be similar to below:
+
+```
+show child paths root.ln
++------------+
+| child paths|
++------------+
+|root.ln.wf01|
+|root.ln.wf02|
++------------+
+Total line number = 2
+It costs 0.012s
+```
 ## Count Timeseries
 
 IoTDB is able to use `COUNT TIMESERIES <Path>` to count the number of timeseries in the path. SQL statements are as follows:
diff --git a/docs/zh/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md b/docs/zh/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md
index 867f120..d90b029 100644
--- a/docs/zh/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md	
+++ b/docs/zh/UserGuide/5-Operation Manual/1-DDL Data Definition Language.md	
@@ -163,6 +163,26 @@ show timeseries root.ln where description contains 'test1'
 
 需要注意的是,当查询路径不存在时,系统会返回0条时间序列。
 
+## 查看子路径
+
+```
+IoTDB> SHOW CHILD PATHS root.ln
+```
+
+你将获得类似的结果:
+
+```
+show child paths root.ln
++------------+
+| child paths|
++------------+
+|root.ln.wf01|
+|root.ln.wf02|
++------------+
+Total line number = 2
+It costs 0.012s
+```
+
 ## 统计时间序列总数
 
 IoTDB支持使用`COUNT TIMESERIES<Path>`来统计一条路径中的时间序列个数。SQL语句如下所示: