You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by zy...@apache.org on 2023/03/22 09:26:37 UTC
[iotdb] branch master updated: Correct CQ example in docs (#9408)
This is an automated email from the ASF dual-hosted git repository.
zyk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 64986085e3 Correct CQ example in docs (#9408)
64986085e3 is described below
commit 64986085e3d1bb285552dc319d25ff36ae2bb7ec
Author: Jackie Tien <ja...@gmail.com>
AuthorDate: Wed Mar 22 17:26:30 2023 +0800
Correct CQ example in docs (#9408)
---
docs/UserGuide/Administration-Management/Administration.md | 2 +-
docs/zh/UserGuide/Administration-Management/Administration.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/UserGuide/Administration-Management/Administration.md b/docs/UserGuide/Administration-Management/Administration.md
index 4b3b7c3c71..2bf7d88242 100644
--- a/docs/UserGuide/Administration-Management/Administration.md
+++ b/docs/UserGuide/Administration-Management/Administration.md
@@ -391,7 +391,7 @@ At the same time, changes to roles are immediately reflected on all users who ow
| DROP_FUNCTION | deregister UDFs; path independent | Eg: `drop function example` [...]
| CREATE_TRIGGER | create triggers; path dependent | Eg1: `CREATE TRIGGER <TRIGGER-NAME> BEFORE INSERT ON <FULL-PATH> AS <CLASSNAME>`<br />Eg2: `CREATE TRIGGER <TRIGGER-NAME> AFTER INSERT ON <FULL-PATH> AS <CLASSNAME>` [...]
| DROP_TRIGGER | drop triggers; path dependent | Eg: `drop trigger 'alert-listener-sg1d1s1'` [...]
-| CREATE_CONTINUOUS_QUERY | create continuous queries; path independent | Eg: `select s1, s1 into t1, t2 from root.sg.d1` [...]
+| CREATE_CONTINUOUS_QUERY | create continuous queries; path independent | Eg: `CREATE CONTINUOUS QUERY cq1 RESAMPLE RANGE 40s BEGIN <QUERY-BODY> END` [...]
| DROP_CONTINUOUS_QUERY | drop continuous queries; path independent | Eg1: `DROP CONTINUOUS QUERY cq3`<br />Eg2: `DROP CQ cq3` [...]
| SHOW_CONTINUOUS_QUERIES | show continuous queries; path independent | Eg1: `SHOW CONTINUOUS QUERIES`<br />Eg2: `SHOW cqs` [...]
| UPDATE_TEMPLATE | create and drop schema template; path independent | Eg1: `create schema template t1(s1 int32)`<br />Eg2: `drop schema template t1` [...]
diff --git a/docs/zh/UserGuide/Administration-Management/Administration.md b/docs/zh/UserGuide/Administration-Management/Administration.md
index 60a1d3d60e..3f1efa9663 100644
--- a/docs/zh/UserGuide/Administration-Management/Administration.md
+++ b/docs/zh/UserGuide/Administration-Management/Administration.md
@@ -390,7 +390,7 @@ Eg: IoTDB > ALTER USER `tempuser` SET PASSWORD 'newpwd';
| DROP_FUNCTION | 卸载 UDF。路径无关 | Eg: `drop function example` [...]
| CREATE_TRIGGER | 创建触发器。路径相关 | Eg1: `CREATE TRIGGER <TRIGGER-NAME> BEFORE INSERT ON <FULL-PATH> AS <CLASSNAME>`<br />Eg2: `CREATE TRIGGER <TRIGGER-NAME> AFTER INSERT ON <FULL-PATH> AS <CLASSNAME>` [...]
| DROP_TRIGGER | 卸载触发器。路径相关 | Eg: `drop trigger 'alert-listener-sg1d1s1'` [...]
-| CREATE_CONTINUOUS_QUERY | 创建连续查询。路径无关 | Eg: `select s1, s1 into t1, t2 from root.sg.d1` [...]
+| CREATE_CONTINUOUS_QUERY | 创建连续查询。路径无关 | Eg: `CREATE CONTINUOUS QUERY cq1 RESAMPLE RANGE 40s BEGIN <QUERY-BODY> END` [...]
| DROP_CONTINUOUS_QUERY | 卸载连续查询。路径无关 | Eg1: `DROP CONTINUOUS QUERY cq3`<br />Eg2: `DROP CQ cq3` [...]
| SHOW_CONTINUOUS_QUERIES | 展示所有连续查询。路径无关 | Eg1: `SHOW CONTINUOUS QUERIES`<br />Eg2: `SHOW cqs` [...]
| UPDATE_TEMPLATE | 创建、删除模板。路径无关。 | Eg1: `create schema template t1(s1 int32)`<br />Eg2: `drop schema template t1` [...]