Skip to content

Commit aa26469

Browse files
committed
update database namerule in tree model
1 parent 1153cae commit aa26469

File tree

16 files changed

+113
-16
lines changed

16 files changed

+113
-16
lines changed

src/UserGuide/Master/Tree/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ IoTDB> create database root.ln.wf01
4545
Msg: 300: root.ln has already been created as database.
4646
```
4747

48-
The LayerName of database can only be chinese or english characters, numbers, underscores, dots and backticks. If you want to set it to pure numbers or contain backticks or dots, you need to enclose the database name with backticks (` `` `). In ` `` `,2 backticks represents one, i.e. ` ```` ` represents `` ` ``.
48+
Database Node Naming Rules:
49+
1. Node names may contain: **Chinese/English letters, Digits (0-9), Underscore(\_)、Period (.)、Backtick(\`)**
50+
2. The entire name must be enclosed in **backticks (\`)** if:
51+
- It consists solely of digits (e.g., 12345)
52+
- It contains special characters (. or \_) that may cause ambiguity (e.g., db.01, \_temp)
53+
3. Escaping Backticks:
54+
If the node name itself contains a backtick (\`), use **two consecutive backticks(\`\`)** to represent a single backtick. Example: To name a node as \`db123\`\` (containing one backtick), write it as \`db123\`\`\`.
4955

5056
Besides, if deploy on Windows system, the LayerName is case-insensitive, which means it's not allowed to create databases `root.ln` and `root.LN` at the same time.
5157

src/UserGuide/Master/Tree/Basic-Concept/Operate-Metadata_timecho.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ IoTDB> create database root.ln.wf01
4545
Msg: 300: root.ln has already been created as database.
4646
```
4747

48-
The LayerName of database can only be chinese or english characters, numbers, underscores, dots and backticks. If you want to set it to pure numbers or contain backticks or dots, you need to enclose the database name with backticks (` `` `). In ` `` `,2 backticks represents one, i.e. ` ```` ` represents `` ` ``.
48+
Database Node Naming Rules:
49+
1. Node names may contain: **Chinese/English letters, Digits (0-9), Underscore(\_)、Period (.)、Backtick(\`)**
50+
2. The entire name must be enclosed in **backticks (\`)** if:
51+
- It consists solely of digits (e.g., 12345)
52+
- It contains special characters (. or \_) that may cause ambiguity (e.g., db.01, \_temp)
53+
3. Escaping Backticks:
54+
If the node name itself contains a backtick (\`), use **two consecutive backticks(\`\`)** to represent a single backtick. Example: To name a node as \`db123\`\` (containing one backtick), write it as \`db123\`\`\`.
4955

5056
Besides, if deploy on Windows system, the LayerName is case-insensitive, which means it's not allowed to create databases `root.ln` and `root.LN` at the same time.
5157

src/UserGuide/V1.3.x/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ IoTDB> create database root.ln.wf01
4545
Msg: 300: root.ln has already been created as database.
4646
```
4747

48-
The LayerName of database can only be chinese or english characters, numbers, underscores, dots and backticks. If you want to set it to pure numbers or contain backticks or dots, you need to enclose the database name with backticks (` `` `). In ` `` `,2 backticks represents one, i.e. ` ```` ` represents `` ` ``.
48+
Database Node Naming Rules:
49+
1. Node names may contain: **Chinese/English letters, Digits (0-9), Underscore(\_)、Period (.)、Backtick(\`)**
50+
2. The entire name must be enclosed in **backticks (\`)** if:
51+
- It consists solely of digits (e.g., 12345)
52+
- It contains special characters (. or \_) that may cause ambiguity (e.g., db.01, \_temp)
53+
3. Escaping Backticks:
54+
If the node name itself contains a backtick (\`), use **two consecutive backticks(\`\`)** to represent a single backtick. Example: To name a node as \`db123\`\` (containing one backtick), write it as \`db123\`\`\`.
4955

5056
Besides, if deploy on Windows system, the LayerName is case-insensitive, which means it's not allowed to create databases `root.ln` and `root.LN` at the same time.
5157

src/UserGuide/V1.3.x/Basic-Concept/Operate-Metadata_timecho.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ IoTDB> create database root.ln.wf01
4545
Msg: 300: root.ln has already been created as database.
4646
```
4747

48-
The LayerName of database can only be chinese or english characters, numbers, underscores, dots and backticks. If you want to set it to pure numbers or contain backticks or dots, you need to enclose the database name with backticks (` `` `). In ` `` `,2 backticks represents one, i.e. ` ```` ` represents `` ` ``.
48+
Database Node Naming Rules:
49+
1. Node names may contain: **Chinese/English letters, Digits (0-9), Underscore(\_)、Period (.)、Backtick(\`)**
50+
2. The entire name must be enclosed in **backticks (\`)** if:
51+
- It consists solely of digits (e.g., 12345)
52+
- It contains special characters (. or \_) that may cause ambiguity (e.g., db.01, \_temp)
53+
3. Escaping Backticks:
54+
If the node name itself contains a backtick (\`), use **two consecutive backticks(\`\`)** to represent a single backtick. Example: To name a node as \`db123\`\` (containing one backtick), write it as \`db123\`\`\`.
4955

5056
Besides, if deploy on Windows system, the LayerName is case-insensitive, which means it's not allowed to create databases `root.ln` and `root.LN` at the same time.
5157

src/UserGuide/dev-1.3/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ IoTDB> create database root.ln.wf01
4545
Msg: 300: root.ln has already been created as database.
4646
```
4747

48-
The LayerName of database can only be chinese or english characters, numbers, underscores, dots and backticks. If you want to set it to pure numbers or contain backticks or dots, you need to enclose the database name with backticks (` `` `). In ` `` `,2 backticks represents one, i.e. ` ```` ` represents `` ` ``.
48+
Database Node Naming Rules:
49+
1. Node names may contain: **Chinese/English letters, Digits (0-9), Underscore(\_)、Period (.)、Backtick(\`)**
50+
2. The entire name must be enclosed in **backticks (\`)** if:
51+
- It consists solely of digits (e.g., 12345)
52+
- It contains special characters (. or \_) that may cause ambiguity (e.g., db.01, \_temp)
53+
3. Escaping Backticks:
54+
If the node name itself contains a backtick (\`), use **two consecutive backticks(\`\`)** to represent a single backtick. Example: To name a node as \`db123\`\` (containing one backtick), write it as \`db123\`\`\`.
4955

5056
Besides, if deploy on Windows system, the LayerName is case-insensitive, which means it's not allowed to create databases `root.ln` and `root.LN` at the same time.
5157

src/UserGuide/dev-1.3/Basic-Concept/Operate-Metadata_timecho.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ IoTDB> create database root.ln.wf01
4545
Msg: 300: root.ln has already been created as database.
4646
```
4747

48-
The LayerName of database can only be chinese or english characters, numbers, underscores, dots and backticks. If you want to set it to pure numbers or contain backticks or dots, you need to enclose the database name with backticks (` `` `). In ` `` `,2 backticks represents one, i.e. ` ```` ` represents `` ` ``.
48+
Database Node Naming Rules:
49+
1. Node names may contain: **Chinese/English letters, Digits (0-9), Underscore(\_)、Period (.)、Backtick(\`)**
50+
2. The entire name must be enclosed in **backticks (\`)** if:
51+
- It consists solely of digits (e.g., 12345)
52+
- It contains special characters (. or \_) that may cause ambiguity (e.g., db.01, \_temp)
53+
3. Escaping Backticks:
54+
If the node name itself contains a backtick (\`), use **two consecutive backticks(\`\`)** to represent a single backtick. Example: To name a node as \`db123\`\` (containing one backtick), write it as \`db123\`\`\`.
4955

5056
Besides, if deploy on Windows system, the LayerName is case-insensitive, which means it's not allowed to create databases `root.ln` and `root.LN` at the same time.
5157

src/UserGuide/latest/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ IoTDB> create database root.ln.wf01
4545
Msg: 300: root.ln has already been created as database.
4646
```
4747

48-
The LayerName of database can only be chinese or english characters, numbers, underscores, dots and backticks. If you want to set it to pure numbers or contain backticks or dots, you need to enclose the database name with backticks (` `` `). In ` `` `,2 backticks represents one, i.e. ` ```` ` represents `` ` ``.
48+
Database Node Naming Rules:
49+
1. Node names may contain: **Chinese/English letters, Digits (0-9), Underscore(\_)、Period (.)、Backtick(\`)**
50+
2. The entire name must be enclosed in **backticks (\`)** if:
51+
- It consists solely of digits (e.g., 12345)
52+
- It contains special characters (. or \_) that may cause ambiguity (e.g., db.01, \_temp)
53+
3. Escaping Backticks:
54+
If the node name itself contains a backtick (\`), use **two consecutive backticks(\`\`)** to represent a single backtick. Example: To name a node as \`db123\`\` (containing one backtick), write it as \`db123\`\`\`.
4955

5056
Besides, if deploy on Windows system, the LayerName is case-insensitive, which means it's not allowed to create databases `root.ln` and `root.LN` at the same time.
5157

src/UserGuide/latest/Basic-Concept/Operate-Metadata_timecho.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ IoTDB> create database root.ln.wf01
4545
Msg: 300: root.ln has already been created as database.
4646
```
4747

48-
The LayerName of database can only be chinese or english characters, numbers, underscores, dots and backticks. If you want to set it to pure numbers or contain backticks or dots, you need to enclose the database name with backticks (` `` `). In ` `` `,2 backticks represents one, i.e. ` ```` ` represents `` ` ``.
48+
Database Node Naming Rules:
49+
1. Node names may contain: **Chinese/English letters, Digits (0-9), Underscore(\_)、Period (.)、Backtick(\`)**
50+
2. The entire name must be enclosed in **backticks (\`)** if:
51+
- It consists solely of digits (e.g., 12345)
52+
- It contains special characters (. or \_) that may cause ambiguity (e.g., db.01, \_temp)
53+
3. Escaping Backticks:
54+
If the node name itself contains a backtick (\`), use **two consecutive backticks(\`\`)** to represent a single backtick. Example: To name a node as \`db123\`\` (containing one backtick), write it as \`db123\`\`\`.
4955

5056
Besides, if deploy on Windows system, the LayerName is case-insensitive, which means it's not allowed to create databases `root.ln` and `root.LN` at the same time.
5157

src/zh/UserGuide/Master/Tree/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ Database 的父子节点都不能再设置 database。例如在已经有`root.ln
4141
IoTDB> CREATE DATABASE root.ln.wf01
4242
Msg: 300: root.ln has already been created as database.
4343
```
44-
Database 节点名只支持中英文字符、数字、下划线、英文句号和反引号的组合,如果想设置为纯数字或者包含下划线和英文句号,需要用反引号(` `` `)把 database 名称引起来。其中` `` `内,两个反引号表示一个反引号,例如 ` ```` ` 表示`` ` ``
44+
Database 节点名命名规则:
45+
1. 节点名可由**中英文字符、数字、下划线(\_)、英文句号(.)、反引号(\`** 组成
46+
2. 若节点名为以下情况,则必须用**反引号(\`** 将整个名称包裹。
47+
- 纯数字(如 12345)
48+
- 含有特殊字符(如 . 或 \_)并可能引发歧义的名称(如 db.01、\_temp)
49+
3. 反引号的特殊处理:
50+
若节点名本身需要包含反引号(\`),则需用**两个反引号(\`\`** 表示一个反引号。例如:命名为\`db123\`\`(本身包含一个反引号),需写为 \`db123\`\`\`
4551

4652
还需注意,如果在 Windows 系统上部署,database 名是大小写不敏感的。例如同时创建`root.ln``root.LN` 是不被允许的。
4753

src/zh/UserGuide/Master/Tree/Basic-Concept/Operate-Metadata_timecho.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ Database 的父子节点都不能再设置 database。例如在已经有`root.ln
4141
IoTDB> CREATE DATABASE root.ln.wf01
4242
Msg: 300: root.ln has already been created as database.
4343
```
44-
Database 节点名只支持中英文字符、数字、下划线、英文句号和反引号的组合,如果想设置为纯数字或者包含下划线和英文句号,需要用反引号(` `` `)把 database 名称引起来。其中` `` `内,两个反引号表示一个反引号,例如 ` ```` ` 表示`` ` ``
44+
Database 节点名命名规则:
45+
1. 节点名可由**中英文字符、数字、下划线(\_)、英文句号(.)、反引号(\`** 组成
46+
2. 若节点名为以下情况,则必须用**反引号(\`** 将整个名称包裹。
47+
- 纯数字(如 12345)
48+
- 含有特殊字符(如 . 或 \_)并可能引发歧义的名称(如 db.01、\_temp)
49+
3. 反引号的特殊处理:
50+
若节点名本身需要包含反引号(\`),则需用**两个反引号(\`\`** 表示一个反引号。例如:命名为\`db123\`\`(本身包含一个反引号),需写为 \`db123\`\`\`
4551

4652
还需注意,如果在 Windows 系统上部署,database 名是大小写不敏感的。例如同时创建`root.ln``root.LN` 是不被允许的。
4753

0 commit comments

Comments
 (0)