diff --git a/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool_apache.md b/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool_apache.md index d66c1a284..87d2ee2e4 100644 --- a/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool_apache.md +++ b/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool_apache.md @@ -42,8 +42,8 @@ The data export tool `export-data.sh/bat` is located in the `tools` directory an |`-end_time` |`--end_time` | The end time of the data to be exported only takes effect when `-sql_dialect` is set to the table type. If `-q` is specified, this parameter will not take effect.| No | - | | `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | | `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | -| `-q` | `--query` | SQL query command to execute. | No | - | -| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (Range: -1~Long max=9223372036854775807) | +| `-q` | `--query` | SQL query command to execute. Starting from v2.0.8, semicolons in SQL statements are automatically removed, and query execution proceeds normally. | No | - | +| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (before v2.0.8)
`Long.MAX_VALUE` (v2.0.8 and later)
(Range: `-1~Long.MAX_VALUE`) | | `-help` | `--help` | Display help information. | No | - | ### 2.2 CSV Format diff --git a/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool_timecho.md b/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool_timecho.md index f23293445..bcc3e8e2c 100644 --- a/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool_timecho.md +++ b/src/UserGuide/Master/Table/Tools-System/Data-Export-Tool_timecho.md @@ -42,8 +42,8 @@ The data export tool `export-data.sh/bat` is located in the `tools` directory an |`-end_time` |`--end_time` | The end time of the data to be exported only takes effect when `-sql_dialect` is set to the table type. If `-q` is specified, this parameter will not take effect.| No | - | | `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | | `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | -| `-q` | `--query` | SQL query command to execute. | No | - | -| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (Range: -1~Long max=9223372036854775807) | +| `-q` | `--query` | SQL query command to execute. Starting from v2.0.8, semicolons in SQL statements are automatically removed, and query execution proceeds normally. | No | - | +| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (before v2.0.8)
`Long.MAX_VALUE` (v2.0.8 and later)
(Range: `-1~Long.MAX_VALUE`) | | `-help` | `--help` | Display help information. | No | - | ### 2.2 CSV Format diff --git a/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_apache.md b/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_apache.md index af564f3ec..a10e79256 100644 --- a/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_apache.md +++ b/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_apache.md @@ -37,8 +37,8 @@ The data export tool, export-data.sh (Unix/OS X) or export-data.bat (Windows), l | `-pw` | `--password` | Password for authentication. | No | `root` | | `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | | `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | -| `-q` | `--query` | SQL query command to execute. | No | - | -| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (Range: -1~Long max=9223372036854775807) | +| `-q` | `--query` | SQL query command to execute. Starting from v2.0.8, semicolons in SQL statements are automatically removed, and query execution proceeds normally. | No | - | +| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (before v2.0.8)
`Long.MAX_VALUE` (v2.0.8 and later)
(Range: `-1~Long.MAX_VALUE`) | | `-help` | `--help` | Display help information. | No | - | ### 2.2 CSV Format diff --git a/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_timecho.md b/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_timecho.md index 21366ef6b..dd0191367 100644 --- a/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_timecho.md +++ b/src/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_timecho.md @@ -28,18 +28,18 @@ The data export tool, export-data.sh (Unix/OS X) or export-data.bat (Windows), l ## 2. Detailed Functionality ### 2.1 Common Parameters -| Short | Full Parameter | Description | Required | Default | -| ---------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------- |------------------------------------------------| -| `-ft` | `--file_type` | Export file type: `csv`, `sql`, `tsfile`. | ​**Yes** | - | -| `-h` | `--host` | Hostname of the IoTDB server. | No | `127.0.0.1` | -| `-p` | `--port` | Port number of the IoTDB server. | No | `6667` | -| `-u` | `--username` | Username for authentication. | No | `root` | -| `-pw` | `--password` | Password for authentication. | No | `TimechoDB@2021`(Before V2.0.6 it is `root` ) | -| `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | -| `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | -| `-q` | `--query` | SQL query command to execute. | No | - | -| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (Range: -1~Long max=9223372036854775807) | -| `-help` | `--help` | Display help information. | No | - | +| Short | Full Parameter | Description | Required | Default | +| ---------------- | -------------------------- |-----------------------------------------------------------------------------------------------------------------------------------------------------| ----------------- |-----------------------------------------------------------------------------------------------------| +| `-ft` | `--file_type` | Export file type: `csv`, `sql`, `tsfile`. | ​**Yes** | - | +| `-h` | `--host` | Hostname of the IoTDB server. | No | `127.0.0.1` | +| `-p` | `--port` | Port number of the IoTDB server. | No | `6667` | +| `-u` | `--username` | Username for authentication. | No | `root` | +| `-pw` | `--password` | Password for authentication. | No | `TimechoDB@2021`(Before V2.0.6 it is `root` ) | +| `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | +| `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | +| `-q` | `--query` | SQL query command to execute. Starting from v2.0.8, semicolons in SQL statements are automatically removed, and query execution proceeds normally. | No | - | +| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (before v2.0.8)
`Long.MAX_VALUE` (v2.0.8 and later)
(Range: `-1~Long.MAX_VALUE`) | +| `-help` | `--help` | Display help information. | No | - | ### 2.2 CSV Format #### 2.2.1 Command diff --git a/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool_apache.md b/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool_apache.md index d66c1a284..87d2ee2e4 100644 --- a/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool_apache.md +++ b/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool_apache.md @@ -42,8 +42,8 @@ The data export tool `export-data.sh/bat` is located in the `tools` directory an |`-end_time` |`--end_time` | The end time of the data to be exported only takes effect when `-sql_dialect` is set to the table type. If `-q` is specified, this parameter will not take effect.| No | - | | `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | | `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | -| `-q` | `--query` | SQL query command to execute. | No | - | -| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (Range: -1~Long max=9223372036854775807) | +| `-q` | `--query` | SQL query command to execute. Starting from v2.0.8, semicolons in SQL statements are automatically removed, and query execution proceeds normally. | No | - | +| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (before v2.0.8)
`Long.MAX_VALUE` (v2.0.8 and later)
(Range: `-1~Long.MAX_VALUE`) | | `-help` | `--help` | Display help information. | No | - | ### 2.2 CSV Format diff --git a/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool_timecho.md b/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool_timecho.md index f23293445..bcc3e8e2c 100644 --- a/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool_timecho.md +++ b/src/UserGuide/latest-Table/Tools-System/Data-Export-Tool_timecho.md @@ -42,8 +42,8 @@ The data export tool `export-data.sh/bat` is located in the `tools` directory an |`-end_time` |`--end_time` | The end time of the data to be exported only takes effect when `-sql_dialect` is set to the table type. If `-q` is specified, this parameter will not take effect.| No | - | | `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | | `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | -| `-q` | `--query` | SQL query command to execute. | No | - | -| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (Range: -1~Long max=9223372036854775807) | +| `-q` | `--query` | SQL query command to execute. Starting from v2.0.8, semicolons in SQL statements are automatically removed, and query execution proceeds normally. | No | - | +| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (before v2.0.8)
`Long.MAX_VALUE` (v2.0.8 and later)
(Range: `-1~Long.MAX_VALUE`) | | `-help` | `--help` | Display help information. | No | - | ### 2.2 CSV Format diff --git a/src/UserGuide/latest/Tools-System/Data-Export-Tool_apache.md b/src/UserGuide/latest/Tools-System/Data-Export-Tool_apache.md index af564f3ec..8e1f0cdfc 100644 --- a/src/UserGuide/latest/Tools-System/Data-Export-Tool_apache.md +++ b/src/UserGuide/latest/Tools-System/Data-Export-Tool_apache.md @@ -28,18 +28,18 @@ The data export tool, export-data.sh (Unix/OS X) or export-data.bat (Windows), l ## 2. Detailed Functionality ### 2.1 Common Parameters -| Short | Full Parameter | Description | Required | Default | -| ---------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------- |-----------------------------------------------| -| `-ft` | `--file_type` | Export file type: `csv`, `sql`, `tsfile`. | ​**Yes** | - | -| `-h` | `--host` | Hostname of the IoTDB server. | No | `127.0.0.1` | -| `-p` | `--port` | Port number of the IoTDB server. | No | `6667` | -| `-u` | `--username` | Username for authentication. | No | `root` | -| `-pw` | `--password` | Password for authentication. | No | `root` | -| `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | -| `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | -| `-q` | `--query` | SQL query command to execute. | No | - | -| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (Range: -1~Long max=9223372036854775807) | -| `-help` | `--help` | Display help information. | No | - | +| Short | Full Parameter | Description | Required | Default | +| ---------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |------------|---------------------------------------------------------------------------------------------| +| `-ft` | `--file_type` | Export file type: `csv`, `sql`, `tsfile`. | ​**Yes** | - | +| `-h` | `--host` | Hostname of the IoTDB server. | No | `127.0.0.1` | +| `-p` | `--port` | Port number of the IoTDB server. | No | `6667` | +| `-u` | `--username` | Username for authentication. | No | `root` | +| `-pw` | `--password` | Password for authentication. | No | `root` | +| `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | +| `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | +| `-q` | `--query` | SQL query command to execute. Starting from v2.0.8, semicolons in SQL statements are automatically removed, and query execution proceeds normally. | No | - | +| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (before v2.0.8)
`Long.MAX_VALUE` (v2.0.8 and later)
(Range: `-1~Long.MAX_VALUE`) | +| `-help` | `--help` | Display help information. | No | - | ### 2.2 CSV Format #### 2.2.1 Command diff --git a/src/UserGuide/latest/Tools-System/Data-Export-Tool_timecho.md b/src/UserGuide/latest/Tools-System/Data-Export-Tool_timecho.md index 21366ef6b..dd0191367 100644 --- a/src/UserGuide/latest/Tools-System/Data-Export-Tool_timecho.md +++ b/src/UserGuide/latest/Tools-System/Data-Export-Tool_timecho.md @@ -28,18 +28,18 @@ The data export tool, export-data.sh (Unix/OS X) or export-data.bat (Windows), l ## 2. Detailed Functionality ### 2.1 Common Parameters -| Short | Full Parameter | Description | Required | Default | -| ---------------- | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------- |------------------------------------------------| -| `-ft` | `--file_type` | Export file type: `csv`, `sql`, `tsfile`. | ​**Yes** | - | -| `-h` | `--host` | Hostname of the IoTDB server. | No | `127.0.0.1` | -| `-p` | `--port` | Port number of the IoTDB server. | No | `6667` | -| `-u` | `--username` | Username for authentication. | No | `root` | -| `-pw` | `--password` | Password for authentication. | No | `TimechoDB@2021`(Before V2.0.6 it is `root` ) | -| `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | -| `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | -| `-q` | `--query` | SQL query command to execute. | No | - | -| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (Range: -1~Long max=9223372036854775807) | -| `-help` | `--help` | Display help information. | No | - | +| Short | Full Parameter | Description | Required | Default | +| ---------------- | -------------------------- |-----------------------------------------------------------------------------------------------------------------------------------------------------| ----------------- |-----------------------------------------------------------------------------------------------------| +| `-ft` | `--file_type` | Export file type: `csv`, `sql`, `tsfile`. | ​**Yes** | - | +| `-h` | `--host` | Hostname of the IoTDB server. | No | `127.0.0.1` | +| `-p` | `--port` | Port number of the IoTDB server. | No | `6667` | +| `-u` | `--username` | Username for authentication. | No | `root` | +| `-pw` | `--password` | Password for authentication. | No | `TimechoDB@2021`(Before V2.0.6 it is `root` ) | +| `-t` | `--target` | Target directory for the output files. If the path does not exist, it will be created. | ​**Yes** | - | +| `-pfn` | `--prefix_file_name` | Prefix for the exported file names. For example, `abc` will generate files like `abc_0.tsfile`, `abc_1.tsfile`. | No | `dump_0.tsfile` | +| `-q` | `--query` | SQL query command to execute. Starting from v2.0.8, semicolons in SQL statements are automatically removed, and query execution proceeds normally. | No | - | +| `-timeout` | `--query_timeout` | Query timeout in milliseconds (ms). | No | `-1` (before v2.0.8)
`Long.MAX_VALUE` (v2.0.8 and later)
(Range: `-1~Long.MAX_VALUE`) | +| `-help` | `--help` | Display help information. | No | - | ### 2.2 CSV Format #### 2.2.1 Command diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool_apache.md b/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool_apache.md index 8aa7709d1..d292c2c14 100644 --- a/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool_apache.md +++ b/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool_apache.md @@ -45,8 +45,8 @@ |-end_time |--end_time | 将要导出的数据的终止时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。| 否 | - | | -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | | -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | -| -q | --query | 要执行的查询命令 | 否 | 无 | -| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | -1
范围:-1~Long max=9223372036854775807 | +| -q | --query | 要执行的查询语句。自 V2.0.8 起,SQL 语句中的分号将被自动移除,查询执行保持正常。 | 否 | 无 | +| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | `-1`(V2.0.8 之前)
`Long.MAX_VALUE`(V2.0.8 及之后)
范围:`-1~Long.MAX_VALUE`| | -help | --help | 显示帮助信息 | 否 | | ### 2.2 CSV 格式 diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool_timecho.md b/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool_timecho.md index 47bab5a88..6cd128efe 100644 --- a/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool_timecho.md +++ b/src/zh/UserGuide/Master/Table/Tools-System/Data-Export-Tool_timecho.md @@ -45,8 +45,8 @@ |-end_time |--end_time | 将要导出的数据的终止时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。| 否 | - | | -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | | -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | -| -q | --query | 要执行的查询命令 | 否 | 无 | -| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | -1
范围:-1~Long max=9223372036854775807 | +| -q | --query | 要执行的查询语句。自 V2.0.8 起,SQL 语句中的分号将被自动移除,查询执行保持正常。 | 否 | 无 | +| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | `-1`(V2.0.8 之前)
`Long.MAX_VALUE`(V2.0.8 及之后)
范围:`-1~Long.MAX_VALUE` | | -help | --help | 显示帮助信息 | 否 | | ### 2.2 CSV 格式 diff --git a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_apache.md b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_apache.md index d8827ad35..496c7ed25 100644 --- a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_apache.md +++ b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_apache.md @@ -31,18 +31,18 @@ ### 2.1 公共参数 -| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | -| ---------- | ---------------------- | ---------------------------------------------------------------------- | -------------- |------------------------------------------| -| -ft | --file\_type | 导出文件的类型,可以选择:csv、sql、tsfile | √ | | -| -h | -- host | 主机名 | 否 | 127.0.0.1 | -| -p | --port | 端口号 | 否 | 6667 | -| -u | --username | 用户名 | 否 | root | -| -pw | --password | 密码 | 否 | root | -| -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | -| -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | -| -q | --query | 要执行的查询命令 | 否 | 无 | -| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | -1
范围:-1~Long max=9223372036854775807 | -| -help | --help | 显示帮助信息 | 否 | | +| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | +| ---------- | ---------------------- |----------------------------------------------------| -------------- |-----------------------------------------------------------------------------| +| -ft | --file\_type | 导出文件的类型,可以选择:csv、sql、tsfile | √ | | +| -h | -- host | 主机名 | 否 | 127.0.0.1 | +| -p | --port | 端口号 | 否 | 6667 | +| -u | --username | 用户名 | 否 | root | +| -pw | --password | 密码 | 否 | root | +| -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | +| -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | +| -q | --query | 要执行的查询语句。自 V2.0.8 起,SQL 语句中的分号将被自动移除,查询执行保持正常。 | 否 | 无 | +| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | `-1`(V2.0.8 之前)
`Long.MAX_VALUE`(V2.0.8 及之后)
范围:`-1~Long.MAX_VALUE` | +| -help | --help | 显示帮助信息 | 否 | | ### 2.2 Csv 格式 diff --git a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_timecho.md b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_timecho.md index e060fe818..642d29af3 100644 --- a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_timecho.md +++ b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Export-Tool_timecho.md @@ -40,8 +40,8 @@ | -pw | --password | 密码 | 否 | TimechoDB@2021 (V2.0.6.x 版本之前为 root) | | -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | | -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | -| -q | --query | 要执行的查询命令 | 否 | 无 | -| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | -1
范围:-1~Long max=9223372036854775807 | +| -q | --query | 要执行的查询语句。自 V2.0.8 起,SQL 语句中的分号将被自动移除,查询执行保持正常。 | 否 | 无 | +| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | `-1`(V2.0.8 之前)
`Long.MAX_VALUE`(V2.0.8 及之后)
范围:`-1~Long.MAX_VALUE` | | -help | --help | 显示帮助信息 | 否 | | ### 2.2 Csv 格式 diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool_apache.md b/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool_apache.md index 8aa7709d1..c6c811616 100644 --- a/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool_apache.md +++ b/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool_apache.md @@ -31,23 +31,23 @@ ### 2.1 公共参数 -| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | -| ------------ | ---------------------- | ---------------------------------------------------------------------- | -------------- |------------------------------------------| -| -ft | --file\_type | 导出文件的类型,可以选择:csv、sql、tsfile | √ | | -| -h | -- host | 主机名 | 否 | 127.0.0.1 | -| -p | --port | 端口号 | 否 | 6667 | -| -u | --username | 用户名 | 否 | root | -| -pw | --password | 密码 | 否 | root | -| -sql_dialect | --sql_dialect | 选择 server 是树模型还是表模型,当前支持 tree 和 table 类型 | 否 | tree | -| -db | --database | ​将要导出的目标数据库,只在`-sql_dialect`为 table 类型下生效。| `-sql_dialect`为 table 时必填| - | -| -table|--table | 将要导出的目标表,只在`-sql_dialect`为 table 类型下生效。如果指定了`-q`参数则此参数不生效,如果导出类型为 tsfile/sql 则此参数必填。| ​ 否 | - | -| -start_time | --start_time |将要导出的数据起始时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。支持的时间类型同`-tf`参数。|否 | - | -|-end_time |--end_time | 将要导出的数据的终止时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。| 否 | - | -| -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | -| -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | -| -q | --query | 要执行的查询命令 | 否 | 无 | -| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | -1
范围:-1~Long max=9223372036854775807 | -| -help | --help | 显示帮助信息 | 否 | | +| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | +| ------------ | ---------------------- | ---------------------------------------------------------------------- | -------------- |---------------------------------------------------------------------------| +| -ft | --file\_type | 导出文件的类型,可以选择:csv、sql、tsfile | √ | | +| -h | -- host | 主机名 | 否 | 127.0.0.1 | +| -p | --port | 端口号 | 否 | 6667 | +| -u | --username | 用户名 | 否 | root | +| -pw | --password | 密码 | 否 | root | +| -sql_dialect | --sql_dialect | 选择 server 是树模型还是表模型,当前支持 tree 和 table 类型 | 否 | tree | +| -db | --database | ​将要导出的目标数据库,只在`-sql_dialect`为 table 类型下生效。| `-sql_dialect`为 table 时必填| - | +| -table|--table | 将要导出的目标表,只在`-sql_dialect`为 table 类型下生效。如果指定了`-q`参数则此参数不生效,如果导出类型为 tsfile/sql 则此参数必填。| ​ 否 | - | +| -start_time | --start_time |将要导出的数据起始时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。支持的时间类型同`-tf`参数。|否 | - | +|-end_time |--end_time | 将要导出的数据的终止时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。| 否 | - | +| -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | +| -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | +| -q | --query | 要执行的查询语句。自 V2.0.8 起,SQL 语句中的分号将被自动移除,查询执行保持正常。 | 否 | 无 | +| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | `-1`(V2.0.8 之前)
`Long.MAX_VALUE`(V2.0.8 及之后)
范围:`-1~Long.MAX_VALUE` | +| -help | --help | 显示帮助信息 | 否 | | ### 2.2 CSV 格式 diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool_timecho.md b/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool_timecho.md index 47bab5a88..72da2a6f9 100644 --- a/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool_timecho.md +++ b/src/zh/UserGuide/latest-Table/Tools-System/Data-Export-Tool_timecho.md @@ -31,23 +31,23 @@ ### 2.1 公共参数 -| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | -| ------------ | ---------------------- | ---------------------------------------------------------------------- | -------------- |------------------------------------------| -| -ft | --file\_type | 导出文件的类型,可以选择:csv、sql、tsfile | √ | | -| -h | -- host | 主机名 | 否 | 127.0.0.1 | -| -p | --port | 端口号 | 否 | 6667 | -| -u | --username | 用户名 | 否 | root | -| -pw | --password | 密码 | 否 | TimechoDB@2021 (V2.0.6 版本之前为 root) | -| -sql_dialect | --sql_dialect | 选择 server 是树模型还是表模型,当前支持 tree 和 table 类型 | 否 | tree | -| -db | --database | ​将要导出的目标数据库,只在`-sql_dialect`为 table 类型下生效。| `-sql_dialect`为 table 时必填| - | -| -table|--table | 将要导出的目标表,只在`-sql_dialect`为 table 类型下生效。如果指定了`-q`参数则此参数不生效,如果导出类型为 tsfile/sql 则此参数必填。| ​ 否 | - | -| -start_time | --start_time |将要导出的数据起始时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。支持的时间类型同`-tf`参数。|否 | - | -|-end_time |--end_time | 将要导出的数据的终止时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。| 否 | - | -| -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | -| -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | -| -q | --query | 要执行的查询命令 | 否 | 无 | -| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | -1
范围:-1~Long max=9223372036854775807 | -| -help | --help | 显示帮助信息 | 否 | | +| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | +| ------------ | ---------------------- | ---------------------------------------------------------------------- | -------------- |-----------------------------------------------------------------------------| +| -ft | --file\_type | 导出文件的类型,可以选择:csv、sql、tsfile | √ | | +| -h | -- host | 主机名 | 否 | 127.0.0.1 | +| -p | --port | 端口号 | 否 | 6667 | +| -u | --username | 用户名 | 否 | root | +| -pw | --password | 密码 | 否 | TimechoDB@2021 (V2.0.6 版本之前为 root) | +| -sql_dialect | --sql_dialect | 选择 server 是树模型还是表模型,当前支持 tree 和 table 类型 | 否 | tree | +| -db | --database | ​将要导出的目标数据库,只在`-sql_dialect`为 table 类型下生效。| `-sql_dialect`为 table 时必填| - | +| -table|--table | 将要导出的目标表,只在`-sql_dialect`为 table 类型下生效。如果指定了`-q`参数则此参数不生效,如果导出类型为 tsfile/sql 则此参数必填。| ​ 否 | - | +| -start_time | --start_time |将要导出的数据起始时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。支持的时间类型同`-tf`参数。|否 | - | +|-end_time |--end_time | 将要导出的数据的终止时间,只有`-sql_dialect`为 table 类型时生效。如果填写了`-q`,则此参数不生效。| 否 | - | +| -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | +| -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | +| -q | --query | 要执行的查询语句。自 V2.0.8 起,SQL 语句中的分号将被自动移除,查询执行保持正常。 | 否 | 无 | +| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | `-1`(V2.0.8 之前)
`Long.MAX_VALUE`(V2.0.8 及之后)
范围:`-1~Long.MAX_VALUE` | +| -help | --help | 显示帮助信息 | 否 | | ### 2.2 CSV 格式 diff --git a/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool_apache.md b/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool_apache.md index d8827ad35..496c7ed25 100644 --- a/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool_apache.md +++ b/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool_apache.md @@ -31,18 +31,18 @@ ### 2.1 公共参数 -| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | -| ---------- | ---------------------- | ---------------------------------------------------------------------- | -------------- |------------------------------------------| -| -ft | --file\_type | 导出文件的类型,可以选择:csv、sql、tsfile | √ | | -| -h | -- host | 主机名 | 否 | 127.0.0.1 | -| -p | --port | 端口号 | 否 | 6667 | -| -u | --username | 用户名 | 否 | root | -| -pw | --password | 密码 | 否 | root | -| -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | -| -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | -| -q | --query | 要执行的查询命令 | 否 | 无 | -| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | -1
范围:-1~Long max=9223372036854775807 | -| -help | --help | 显示帮助信息 | 否 | | +| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | +| ---------- | ---------------------- |----------------------------------------------------| -------------- |-----------------------------------------------------------------------------| +| -ft | --file\_type | 导出文件的类型,可以选择:csv、sql、tsfile | √ | | +| -h | -- host | 主机名 | 否 | 127.0.0.1 | +| -p | --port | 端口号 | 否 | 6667 | +| -u | --username | 用户名 | 否 | root | +| -pw | --password | 密码 | 否 | root | +| -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | +| -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | +| -q | --query | 要执行的查询语句。自 V2.0.8 起,SQL 语句中的分号将被自动移除,查询执行保持正常。 | 否 | 无 | +| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | `-1`(V2.0.8 之前)
`Long.MAX_VALUE`(V2.0.8 及之后)
范围:`-1~Long.MAX_VALUE` | +| -help | --help | 显示帮助信息 | 否 | | ### 2.2 Csv 格式 diff --git a/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool_timecho.md b/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool_timecho.md index e060fe818..642d29af3 100644 --- a/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool_timecho.md +++ b/src/zh/UserGuide/latest/Tools-System/Data-Export-Tool_timecho.md @@ -40,8 +40,8 @@ | -pw | --password | 密码 | 否 | TimechoDB@2021 (V2.0.6.x 版本之前为 root) | | -t | --target | 指定输出文件的目标文件夹,如果路径不存在新建文件夹 | √ | | | -pfn | --prefix\_file\_name | 指定导出文件的名称。例如:abc,生成的文件是abc\_0.tsfile、abc\_1.tsfile | 否 | dump\_0.tsfile | -| -q | --query | 要执行的查询命令 | 否 | 无 | -| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | -1
范围:-1~Long max=9223372036854775807 | +| -q | --query | 要执行的查询语句。自 V2.0.8 起,SQL 语句中的分号将被自动移除,查询执行保持正常。 | 否 | 无 | +| -timeout | --query\_timeout | 会话查询的超时时间(ms) | 否 | `-1`(V2.0.8 之前)
`Long.MAX_VALUE`(V2.0.8 及之后)
范围:`-1~Long.MAX_VALUE` | | -help | --help | 显示帮助信息 | 否 | | ### 2.2 Csv 格式