You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "W1y1r (via GitHub)" <gi...@apache.org> on 2024/11/11 03:23:34 UTC
[PR] Intergration of legacy PR document content [iotdb-docs]
W1y1r opened a new pull request, #405:
URL: https://github.com/apache/iotdb-docs/pull/405
(no comment)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Intergration of legacy PR document content [iotdb-docs]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
HTHou commented on code in PR #405:
URL: https://github.com/apache/iotdb-docs/pull/405#discussion_r1836091695
##########
src/zh/UserGuide/V1.0.x/Maintenance-Tools/Load-Tsfile.md:
##########
@@ -77,14 +67,13 @@ ONSUCCESS选项表示对于成功载入的tsfile的处置方式,默认为delet
若您在Windows环境中,请运行`$IOTDB_HOME/tools/load-tsfile.bat`,若为Linux或Unix,请运行`load-tsfile.sh`
Review Comment:
```suggestion
若您在Windows环境中,请运行`$IOTDB_HOME\tools\load-tsfile.bat`,若为Linux或Unix,请运行`load-tsfile.sh`
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Intergration of legacy PR document content [iotdb-docs]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
HTHou commented on code in PR #405:
URL: https://github.com/apache/iotdb-docs/pull/405#discussion_r1836090034
##########
src/zh/UserGuide/V0.13.x/Write-And-Delete-Data/Load-External-Tsfile.md:
##########
@@ -29,20 +29,19 @@
#### 加载 tsfile 文件
-加载 tsfile 文件的指令为:`load '<path/dir>' [autoregister=true/false][,sglevel=int][,verify=true/false]`
+加载 tsfile 文件的指令为:`load '<path/dir>' [autoregister=true/false][,sglevel=int]`
+
该指令有两种用法:
1. 通过指定文件路径(绝对路径)加载单 tsfile 文件。
-第二个参数表示待加载的 tsfile 文件的路径,其中文件名称需要符合 tsfile 的命名规范,即`{systemTime}-{versionNum}-{in_space_compaction_num}-{cross_space_compaction_num}.tsfile`。load 命令有三个可选项,分别是 autoregister,值域为 true/false,sglevel,值域为整数,verify,值域为 true/false。不同选项之间用逗号连接,选项之间无顺序要求。
+第二个参数表示待加载的 tsfile 文件的路径,其中文件名称需要符合 tsfile 的命名规范,即`{systemTime}-{versionNum}-{in_space_compaction_num}-{cross_space_compaction_num}.tsfile`。load 命令有 2 个可选项,分别是 autoregister,值域为 true/false,sglevel,值域为整数。选项之间无顺序要求。
AUTOREGISTER 选项表示当待加载的 tsfile 文件中时间序列对应的元数据不存在时,用户可以选择是否自动创建 schema ,参数为 true 表示自动创建 schema,相反 false 表示不创建,缺省时默认创建 schema。
SGLEVEL 选项,当 tsfile 对应的存储组不存在时,用户可以通过 sglevel 参数的值来制定存储组的级别,默认为`iotdb-engine.properties`中设置的级别。例如当设置 level 参数为1时表明此 tsfile 中所有时间序列中层级为1的前缀路径是存储组,即若存在设备 root.sg.d1.s1,此时 root.sg 被指定为存储组。
Review Comment:
```suggestion
SGLEVEL 选项,当 tsfile 对应的 database 不存在时,用户可以通过 sglevel 参数的值来制定 database 的级别,默认为`iotdb-system.properties`中设置 default_storage_group_level 的级别。例如当设置 level 参数为 1 时表明此 tsfile 中所有时间序列中层级为1的前缀路径是存储组,即若存在设备 root.sg.d1.s1,此时 root.sg 被指定为存储组。
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Intergration of legacy PR document content [iotdb-docs]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
HTHou commented on code in PR #405:
URL: https://github.com/apache/iotdb-docs/pull/405#discussion_r1836090034
##########
src/zh/UserGuide/V0.13.x/Write-And-Delete-Data/Load-External-Tsfile.md:
##########
@@ -29,20 +29,19 @@
#### 加载 tsfile 文件
-加载 tsfile 文件的指令为:`load '<path/dir>' [autoregister=true/false][,sglevel=int][,verify=true/false]`
+加载 tsfile 文件的指令为:`load '<path/dir>' [autoregister=true/false][,sglevel=int]`
+
该指令有两种用法:
1. 通过指定文件路径(绝对路径)加载单 tsfile 文件。
-第二个参数表示待加载的 tsfile 文件的路径,其中文件名称需要符合 tsfile 的命名规范,即`{systemTime}-{versionNum}-{in_space_compaction_num}-{cross_space_compaction_num}.tsfile`。load 命令有三个可选项,分别是 autoregister,值域为 true/false,sglevel,值域为整数,verify,值域为 true/false。不同选项之间用逗号连接,选项之间无顺序要求。
+第二个参数表示待加载的 tsfile 文件的路径,其中文件名称需要符合 tsfile 的命名规范,即`{systemTime}-{versionNum}-{in_space_compaction_num}-{cross_space_compaction_num}.tsfile`。load 命令有 2 个可选项,分别是 autoregister,值域为 true/false,sglevel,值域为整数。选项之间无顺序要求。
AUTOREGISTER 选项表示当待加载的 tsfile 文件中时间序列对应的元数据不存在时,用户可以选择是否自动创建 schema ,参数为 true 表示自动创建 schema,相反 false 表示不创建,缺省时默认创建 schema。
SGLEVEL 选项,当 tsfile 对应的存储组不存在时,用户可以通过 sglevel 参数的值来制定存储组的级别,默认为`iotdb-engine.properties`中设置的级别。例如当设置 level 参数为1时表明此 tsfile 中所有时间序列中层级为1的前缀路径是存储组,即若存在设备 root.sg.d1.s1,此时 root.sg 被指定为存储组。
Review Comment:
```suggestion
SGLEVEL 选项,当 tsfile 对应的 database 不存在时,用户可以通过 sglevel 参数的值来制定 database 的级别,默认为`iotdb-system.properties`中设置 default_storage_group_level 的级别。例如当设置 level 参数为 1 时表明此 tsfile 中所有时间序列中层级为1的前缀路径是存储组,即若存在设备 root.sg.d1.s1,此时 root.sg 被指定为存储组。
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Intergration of legacy PR document content [iotdb-docs]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
HTHou merged PR #405:
URL: https://github.com/apache/iotdb-docs/pull/405
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Intergration of legacy PR document content [iotdb-docs]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
HTHou commented on code in PR #405:
URL: https://github.com/apache/iotdb-docs/pull/405#discussion_r1836090776
##########
src/zh/UserGuide/V1.0.x/Maintenance-Tools/Load-Tsfile.md:
##########
@@ -77,14 +67,13 @@ ONSUCCESS选项表示对于成功载入的tsfile的处置方式,默认为delet
若您在Windows环境中,请运行`$IOTDB_HOME/tools/load-tsfile.bat`,若为Linux或Unix,请运行`load-tsfile.sh`
```bash
-./load-tsfile.bat -f filePath [-h host] [-p port] [-u username] [-pw password] [--sgLevel int] [--verify true/false] [--onSuccess none/delete]
+./load-tsfile.bat -f filePath [-h host] [-p port] [-u username] [-pw password] [--sgLevel int] [--onSuccess none/delete]
Review Comment:
```suggestion
.\load-tsfile.bat -f filePath [-h host] [-p port] [-u username] [-pw password] [--sgLevel int] [--onSuccess none/delete]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org