Skip to content

Commit

Permalink
[IOTDB-4417] Modify docs of usage of storage group (apache#7339)
Browse files Browse the repository at this point in the history
  • Loading branch information
lancelly authored Sep 16, 2022
1 parent f95d6a3 commit 74ef508
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/UserGuide/Data-Concept/Data-Model-and-Terminology.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Once a prefix path is set as a storage group, the storage group settings cannot

After a storage group is set, the ancestral layers, children and descendant layers of the corresponding prefix path are not allowed to be set up again (for example, after `root.ln` is set as the storage group, the root layer and `root.ln.wf01` are not allowed to be set as storage groups).

The Layer Name of storage group can only consist of characters, numbers, underscores and hyphen, like `root.storagegroup_1-sg1`.
The Layer Name of storage group can only consist of characters, numbers, and underscores, like `root.storagegroup_1`.

### Path

Expand Down Expand Up @@ -80,7 +80,7 @@ The following are the constraints on the `nodeName`:
* `root` is a reserved character, and it is only allowed to appear at the beginning layer of the time series mentioned below. If `root` appears in other layers, it cannot be parsed and an error will be reported.
* Except for the beginning layer (`root`) of the time series, the characters supported in other layers are as follows:

* [ 0-9 a-z A-Z _ : @ # $ { } ] (letters, numbers, a few special characters)
* [ 0-9 a-z A-Z _ ] (letters, numbers, underscore)
* ['\u2E80'..'\u9FFF'] (Chinese characters)
* In particular, if the system is deployed on a Windows machine, the storage group layer name will be case-insensitive. For example, creating both `root.ln` and `root.LN` at the same time is not allowed.
* If you want to use special characters in `nodeName`, you can quote it with back quote, detailed information can be found here: [Syntax-Conventions](https://iotdb.apache.org/UserGuide/Master/Reference/Syntax-Conventions.html).
Expand Down
4 changes: 2 additions & 2 deletions docs/zh/UserGuide/Data-Concept/Data-Model-and-Terminology.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ IoTDB 模型结构涉及的基本概念在下文将做详细叙述。

一个存储组设定后,其对应的前缀路径的祖先层级与孩子及后裔层级也不允许再设置存储组(如,`root.ln`设置存储组后,root 层级与`root.ln.wf01`不允许被设置为存储组)。

存储组节点名只支持中英文字符、数字、下划线和中划线的组合。例如`root. 存储组_1-组1`
存储组节点名只支持中英文字符、数字和下划线的组合。例如`root. 存储组_1`

### 路径(Path)

Expand Down Expand Up @@ -83,7 +83,7 @@ wildcard

* `root` 作为一个保留字符,它只允许出现在下文提到的时间序列的开头,若其他层级出现 `root`,则无法解析,提示报错。
* 除了时间序列的开头的层级(`root`)外,其他的层级支持的字符如下:
* [ 0-9 a-z A-Z _ : @ # $ { } ] (字母,数字,部分特殊字符
* [ 0-9 a-z A-Z _ ] (字母,数字,下划线
* ['\u2E80'..'\u9FFF'] (UNICODE 中文字符)
* 特别地,如果系统在 Windows 系统上部署,那么存储组路径结点名是大小写不敏感的。例如,同时创建`root.ln``root.LN` 是不被允许的。
* 如果需要在路径结点名中用特殊字符,可以用反引号引用路径结点名,具体使用方法可以参考[语法约定](../Reference/Syntax-Conventions.md)
Expand Down

0 comments on commit 74ef508

Please sign in to comment.