You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/01/10 06:35:08 UTC

[iotdb] branch rel/0.12 updated: [To rel/0.12][IOTDB-2318] Fix Some contents in the user guide docs (#4741)

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

haonan pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.12 by this push:
     new 630aa84  [To rel/0.12][IOTDB-2318] Fix Some contents in the user guide docs  (#4741)
630aa84 is described below

commit 630aa84136d4c40ea85ee4402490b7c6ac6084f2
Author: Marcos_Zyk <38...@users.noreply.github.com>
AuthorDate: Mon Jan 10 14:34:37 2022 +0800

    [To rel/0.12][IOTDB-2318] Fix Some contents in the user guide docs  (#4741)
---
 docs/UserGuide/Appendix/SQL-Reference.md                 | 16 ++++++++--------
 .../IoTDB-SQL-Language/DML-Data-Manipulation-Language.md |  2 +-
 docs/zh/UserGuide/Appendix/SQL-Reference.md              | 16 ++++++++--------
 .../IoTDB-SQL-Language/DML-Data-Manipulation-Language.md |  2 +-
 4 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/docs/UserGuide/Appendix/SQL-Reference.md b/docs/UserGuide/Appendix/SQL-Reference.md
index 5f7c1e8..7ea4710 100644
--- a/docs/UserGuide/Appendix/SQL-Reference.md
+++ b/docs/UserGuide/Appendix/SQL-Reference.md
@@ -851,6 +851,14 @@ path=‘root’ (DOT identifier)*
 Eg: IoTDB > LIST PRIVILEGES USER sgcc_wirte_user ON root.sgcc;
 ```
 
+* List Privileges of Roles
+
+```
+LIST ROLE PRIVILEGES <roleName>
+roleName:=identifier
+Eg: IoTDB > LIST ROLE PRIVILEGES actor;
+```
+
 * List Privileges of Roles(On Specific Path)
 
 ```
@@ -868,14 +876,6 @@ username:=identifier
 Eg: IoTDB > LIST USER PRIVILEGES tempuser;
 ```
 
-* List Privileges of Roles
-
-```
-LIST ROLE PRIVILEGES <roleName>
-roleName:=identifier
-Eg: IoTDB > LIST ROLE PRIVILEGES actor;
-```
-
 * List Roles of Users
 
 ```
diff --git a/docs/UserGuide/IoTDB-SQL-Language/DML-Data-Manipulation-Language.md b/docs/UserGuide/IoTDB-SQL-Language/DML-Data-Manipulation-Language.md
index 87df2cd..87e8a3d 100644
--- a/docs/UserGuide/IoTDB-SQL-Language/DML-Data-Manipulation-Language.md
+++ b/docs/UserGuide/IoTDB-SQL-Language/DML-Data-Manipulation-Language.md
@@ -1134,7 +1134,7 @@ When the fill method is not specified, each data type bears its own default fill
 IoTDB provides [LIMIT/SLIMIT](../Appendix/SQL-Reference.md) clause and [OFFSET/SOFFSET](../Appendix/SQL-Reference.md) 
 clause in order to make users have more control over query results. 
 The use of LIMIT and SLIMIT clauses allows users to control the number of rows and columns of query results, 
-and the use of OFFSET and SOFSET clauses allows users to set the starting position of the results for display.
+and the use of OFFSET and SOFFSET clauses allows users to set the starting position of the results for display.
 
 Note that the LIMIT and OFFSET are not supported in group by query.
 
diff --git a/docs/zh/UserGuide/Appendix/SQL-Reference.md b/docs/zh/UserGuide/Appendix/SQL-Reference.md
index 368aa46..5748ecb 100644
--- a/docs/zh/UserGuide/Appendix/SQL-Reference.md
+++ b/docs/zh/UserGuide/Appendix/SQL-Reference.md
@@ -843,6 +843,14 @@ Eg: IoTDB > LIST PRIVILEGES USER sgcc_wirte_user ON root.sgcc;
 * 列出角色权限
 
 ```
+LIST ROLE PRIVILEGES <roleName>
+roleName:=identifier
+Eg: IoTDB > LIST ROLE PRIVILEGES actor;
+```
+
+* 列出角色在具体路径上的权限
+
+```
 LIST PRIVILEGES ROLE <roleName> ON <path>;    
 roleName:=identifier  
 path=‘root’ (DOT identifier)*
@@ -857,14 +865,6 @@ username:=identifier
 Eg: IoTDB > LIST USER PRIVILEGES tempuser;
 ```
 
-* 列出角色权限
-
-```
-LIST ROLE PRIVILEGES <roleName>
-roleName:=identifier
-Eg: IoTDB > LIST ROLE PRIVILEGES actor;
-```
-
 * 列出用户角色 
 
 ```
diff --git a/docs/zh/UserGuide/IoTDB-SQL-Language/DML-Data-Manipulation-Language.md b/docs/zh/UserGuide/IoTDB-SQL-Language/DML-Data-Manipulation-Language.md
index 7738ded..09aac6a 100644
--- a/docs/zh/UserGuide/IoTDB-SQL-Language/DML-Data-Manipulation-Language.md
+++ b/docs/zh/UserGuide/IoTDB-SQL-Language/DML-Data-Manipulation-Language.md
@@ -1042,7 +1042,7 @@ It costs 0.006s
 #### LIMIT & OFFSET
 
 IoTDB提供 [LIMIT/SLIMIT](../Appendix/SQL-Reference.md) 子句和 [OFFSET/SOFFSET](../Appendix/SQL-Reference.md) 子句,以使用户可以更好地控制查询结果。使用LIMIT和SLIMIT子句可让用户控制查询结果的行数和列数,
-并且使用OFFSET和SOFSET子句允许用户设置结果显示的起始位置。
+并且使用OFFSET和SOFFSET子句允许用户设置结果显示的起始位置。
 
 请注意,按组查询不支持LIMIT和OFFSET。