This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 3e6e5b5 Corrected some of the content of the page (#173)
3e6e5b5 is described below
commit 3e6e5b5bc47dea08959a1539e3fa8aaea32b9ea3
Author: Tanxilo <[email protected]>
AuthorDate: Fri Feb 2 11:31:20 2024 +0800
Corrected some of the content of the page (#173)
---
.../Master/User-Manual/Database-Programming.md | 10 ++++----
.../Master/User-Manual/Operate-Metadata.md | 4 +++-
.../{latest => Master}/User-Manual/Streaming.md | 28 +++++++++++-----------
.../latest/User-Manual/Database-Programming.md | 10 ++++----
.../latest/User-Manual/Operate-Metadata.md | 4 +++-
src/zh/UserGuide/latest/User-Manual/Streaming.md | 28 +++++++++++-----------
6 files changed, 44 insertions(+), 40 deletions(-)
diff --git a/src/zh/UserGuide/Master/User-Manual/Database-Programming.md
b/src/zh/UserGuide/Master/User-Manual/Database-Programming.md
index 775301b..c6d5020 100644
--- a/src/zh/UserGuide/Master/User-Manual/Database-Programming.md
+++ b/src/zh/UserGuide/Master/User-Manual/Database-Programming.md
@@ -1497,13 +1497,13 @@ SHOW FUNCTIONS
### 用户权限管理
-用户在使用 UDF 时会涉及到 3 种权限:
+用户在使用 UDF 时会涉及到 1 种权限:`USE_UDF`
-* `USE_UDF`:具备该权限的用户才被允许执行 UDF 注册操作
-* `DROP_FUNCTION`:具备该权限的用户才被允许执行 UDF 卸载操作
-* `READ_TIMESERIES`:具备该权限的用户才被允许使用 UDF 进行查询
+* 具备该权限的用户才被允许执行 UDF 注册操作
+* 具备该权限的用户才被允许执行 UDF 卸载操作
+* 具备该权限的用户才被允许使用 UDF 进行查询
-更多用户权限相关的内容,请参考 [权限管理语句](./Security-Management_timecho.md##权限管理)。
+更多用户权限相关的内容,请参考 [权限管理语句](./Authority-Management.md##权限管理)。
### 配置项
diff --git a/src/zh/UserGuide/Master/User-Manual/Operate-Metadata.md
b/src/zh/UserGuide/Master/User-Manual/Operate-Metadata.md
index 6444f46..2ff1c45 100644
--- a/src/zh/UserGuide/Master/User-Manual/Operate-Metadata.md
+++ b/src/zh/UserGuide/Master/User-Manual/Operate-Metadata.md
@@ -340,7 +340,7 @@ IoTDB> create device template t2 aligned (lat FLOAT
encoding=Gorilla, lon FLOAT
挂载元数据模板的 SQL 语句如下所示:
```shell
-IoTDB> set schema template t1 to root.sg1.d1
+IoTDB> set device template t1 to root.sg1.d1
```
### 激活设备模板
@@ -1078,6 +1078,8 @@ IoTDB> show devices root.ln.**
IoTDB> show devices root.ln.** where device contains 't'
IoTDB> show devices root.ln.** where template = 't1'
IoTDB> show devices root.ln.** where template is null
+IoTDB> show devices root.ln.** where template != 't1'
+IoTDB> show devices root.ln.** where template is not null
```
你可以获得如下数据:
diff --git a/src/zh/UserGuide/latest/User-Manual/Streaming.md
b/src/zh/UserGuide/Master/User-Manual/Streaming.md
similarity index 98%
copy from src/zh/UserGuide/latest/User-Manual/Streaming.md
copy to src/zh/UserGuide/Master/User-Manual/Streaming.md
index 0f25bac..bd23ab7 100644
--- a/src/zh/UserGuide/latest/User-Manual/Streaming.md
+++ b/src/zh/UserGuide/Master/User-Manual/Streaming.md
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -738,22 +738,22 @@ WHERE CONNECTOR USED BY <PipeId>
### 流处理任务
-| 权限名称 | 描述 |
-| ----------- | -------------------------- |
-| CREATE_PIPE | 注册流处理任务。路径无关。 |
-| START_PIPE | 开启流处理任务。路径无关。 |
-| STOP_PIPE | 停止流处理任务。路径无关。 |
-| DROP_PIPE | 卸载流处理任务。路径无关。 |
-| SHOW_PIPES | 查询流处理任务。路径无关。 |
+| 权限名称 | 描述 |
+| -------- | -------------------------- |
+| USE_PIPE | 注册流处理任务。路径无关。 |
+| USE_PIPE | 开启流处理任务。路径无关。 |
+| USE_PIPE | 停止流处理任务。路径无关。 |
+| USE_PIPE | 卸载流处理任务。路径无关。 |
+| USE_PIPE | 查询流处理任务。路径无关。 |
### 流处理任务插件
-| 权限名称 | 描述 |
-| ----------------- | ------------------------------ |
-| CREATE_PIPEPLUGIN | 注册流处理任务插件。路径无关。 |
-| DROP_PIPEPLUGIN | 卸载流处理任务插件。路径无关。 |
-| SHOW_PIPEPLUGINS | 查询流处理任务插件。路径无关。 |
+| 权限名称 | 描述 |
+| :------- | ------------------------------ |
+| USE_PIPE | 注册流处理任务插件。路径无关。 |
+| USE_PIPE | 卸载流处理任务插件。路径无关。 |
+| USE_PIPE | 查询流处理任务插件。路径无关。 |
## 配置参数
diff --git a/src/zh/UserGuide/latest/User-Manual/Database-Programming.md
b/src/zh/UserGuide/latest/User-Manual/Database-Programming.md
index 775301b..c6d5020 100644
--- a/src/zh/UserGuide/latest/User-Manual/Database-Programming.md
+++ b/src/zh/UserGuide/latest/User-Manual/Database-Programming.md
@@ -1497,13 +1497,13 @@ SHOW FUNCTIONS
### 用户权限管理
-用户在使用 UDF 时会涉及到 3 种权限:
+用户在使用 UDF 时会涉及到 1 种权限:`USE_UDF`
-* `USE_UDF`:具备该权限的用户才被允许执行 UDF 注册操作
-* `DROP_FUNCTION`:具备该权限的用户才被允许执行 UDF 卸载操作
-* `READ_TIMESERIES`:具备该权限的用户才被允许使用 UDF 进行查询
+* 具备该权限的用户才被允许执行 UDF 注册操作
+* 具备该权限的用户才被允许执行 UDF 卸载操作
+* 具备该权限的用户才被允许使用 UDF 进行查询
-更多用户权限相关的内容,请参考 [权限管理语句](./Security-Management_timecho.md##权限管理)。
+更多用户权限相关的内容,请参考 [权限管理语句](./Authority-Management.md##权限管理)。
### 配置项
diff --git a/src/zh/UserGuide/latest/User-Manual/Operate-Metadata.md
b/src/zh/UserGuide/latest/User-Manual/Operate-Metadata.md
index 6444f46..2ff1c45 100644
--- a/src/zh/UserGuide/latest/User-Manual/Operate-Metadata.md
+++ b/src/zh/UserGuide/latest/User-Manual/Operate-Metadata.md
@@ -340,7 +340,7 @@ IoTDB> create device template t2 aligned (lat FLOAT
encoding=Gorilla, lon FLOAT
挂载元数据模板的 SQL 语句如下所示:
```shell
-IoTDB> set schema template t1 to root.sg1.d1
+IoTDB> set device template t1 to root.sg1.d1
```
### 激活设备模板
@@ -1078,6 +1078,8 @@ IoTDB> show devices root.ln.**
IoTDB> show devices root.ln.** where device contains 't'
IoTDB> show devices root.ln.** where template = 't1'
IoTDB> show devices root.ln.** where template is null
+IoTDB> show devices root.ln.** where template != 't1'
+IoTDB> show devices root.ln.** where template is not null
```
你可以获得如下数据:
diff --git a/src/zh/UserGuide/latest/User-Manual/Streaming.md
b/src/zh/UserGuide/latest/User-Manual/Streaming.md
index 0f25bac..bd23ab7 100644
--- a/src/zh/UserGuide/latest/User-Manual/Streaming.md
+++ b/src/zh/UserGuide/latest/User-Manual/Streaming.md
@@ -7,9 +7,9 @@
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -738,22 +738,22 @@ WHERE CONNECTOR USED BY <PipeId>
### 流处理任务
-| 权限名称 | 描述 |
-| ----------- | -------------------------- |
-| CREATE_PIPE | 注册流处理任务。路径无关。 |
-| START_PIPE | 开启流处理任务。路径无关。 |
-| STOP_PIPE | 停止流处理任务。路径无关。 |
-| DROP_PIPE | 卸载流处理任务。路径无关。 |
-| SHOW_PIPES | 查询流处理任务。路径无关。 |
+| 权限名称 | 描述 |
+| -------- | -------------------------- |
+| USE_PIPE | 注册流处理任务。路径无关。 |
+| USE_PIPE | 开启流处理任务。路径无关。 |
+| USE_PIPE | 停止流处理任务。路径无关。 |
+| USE_PIPE | 卸载流处理任务。路径无关。 |
+| USE_PIPE | 查询流处理任务。路径无关。 |
### 流处理任务插件
-| 权限名称 | 描述 |
-| ----------------- | ------------------------------ |
-| CREATE_PIPEPLUGIN | 注册流处理任务插件。路径无关。 |
-| DROP_PIPEPLUGIN | 卸载流处理任务插件。路径无关。 |
-| SHOW_PIPEPLUGINS | 查询流处理任务插件。路径无关。 |
+| 权限名称 | 描述 |
+| :------- | ------------------------------ |
+| USE_PIPE | 注册流处理任务插件。路径无关。 |
+| USE_PIPE | 卸载流处理任务插件。路径无关。 |
+| USE_PIPE | 查询流处理任务插件。路径无关。 |
## 配置参数