Skip to content

Commit

Permalink
Corrected some of the content of the page (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanxilo authored Feb 2, 2024
1 parent 979c7fa commit 3e6e5b5
Show file tree
Hide file tree
Showing 6 changed files with 812 additions and 26 deletions.
10 changes: 5 additions & 5 deletions src/zh/UserGuide/Master/User-Manual/Database-Programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -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##权限管理)

### 配置项

Expand Down
4 changes: 3 additions & 1 deletion src/zh/UserGuide/Master/User-Manual/Operate-Metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

### 激活设备模板
Expand Down Expand Up @@ -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
```

你可以获得如下数据:
Expand Down
Loading

0 comments on commit 3e6e5b5

Please sign in to comment.