diff --git a/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool_apache.md b/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool_apache.md index 348ec4d0a..2f288a7e3 100644 --- a/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool_apache.md +++ b/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool_apache.md @@ -49,7 +49,7 @@ IoTDB supports three methods for data import: | `-u` | `--username` | Username. | No | `root` | | `-pw` | `--password` | Password. Supported for hidden input since V2.0.9-beta | No | `root` | | `-sql_dialect` | `--sql_dialect` | Select server model : tree or table | No | `tree` | -| ` -db ` | `--database` | ​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table` | - | +| ` -db ` | `--database` | ​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table`;
Starting from version V2.0.9-beta, this parameter is optional when the file format is SQL. A prompt will be issued if the target database is not explicitly specified in either the parameter or the SQL statement. | - | | `-table` | `--table ` | Target table , required for CSV imports in table model | No | - | | `-s` | `--source` | Local path to the file/directory to import. ​​**Supported formats**​: CSV, SQL, TsFile. Unsupported formats trigger error: `The file name must end with "csv", "sql", or "tsfile"!` | ​**Yes** | - | | `-tn` | `--thread_num` | Maximum parallel threads | No | `8`
Range: 0 to Integer.Max(2147483647). | diff --git a/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool_timecho.md b/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool_timecho.md index 7c18a1e54..3e0c7f182 100644 --- a/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool_timecho.md +++ b/src/UserGuide/Master/Table/Tools-System/Data-Import-Tool_timecho.md @@ -50,7 +50,7 @@ IoTDB supports three methods for data import: | `-u` | `--username` | Username. | No | `root` | | `-pw` | `--password` | Password. Supported for hidden input since V2.0.9.1 | No | `TimechoDB@2021`(Before V2.0.6 it is root) | | `-sql_dialect` | `--sql_dialect` | Select server model : tree or table | No | `tree` | -| ` -db ` | `--database` | ​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table` | - | +| ` -db ` | `--database` | ​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table`;
Starting from version V2.0.9.2, this parameter is optional when the file format is SQL. A prompt will be issued if the target database is not explicitly specified in either the parameter or the SQL statement. | - | | `-table` | `--table ` | Target table , required for CSV imports in table model | No | - | | `-s` | `--source` | Local path to the file/directory to import. ​​**Supported formats**​: CSV, SQL, TsFile. Unsupported formats trigger error: `The file name must end with "csv", "sql", or "tsfile"!` | ​**Yes** | - | | `-tn` | `--thread_num` | Maximum parallel threads | No | `8`
Range: 0 to Integer.Max(2147483647). | diff --git a/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool_apache.md b/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool_apache.md index 348ec4d0a..2f288a7e3 100644 --- a/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool_apache.md +++ b/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool_apache.md @@ -49,7 +49,7 @@ IoTDB supports three methods for data import: | `-u` | `--username` | Username. | No | `root` | | `-pw` | `--password` | Password. Supported for hidden input since V2.0.9-beta | No | `root` | | `-sql_dialect` | `--sql_dialect` | Select server model : tree or table | No | `tree` | -| ` -db ` | `--database` | ​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table` | - | +| ` -db ` | `--database` | ​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table`;
Starting from version V2.0.9-beta, this parameter is optional when the file format is SQL. A prompt will be issued if the target database is not explicitly specified in either the parameter or the SQL statement. | - | | `-table` | `--table ` | Target table , required for CSV imports in table model | No | - | | `-s` | `--source` | Local path to the file/directory to import. ​​**Supported formats**​: CSV, SQL, TsFile. Unsupported formats trigger error: `The file name must end with "csv", "sql", or "tsfile"!` | ​**Yes** | - | | `-tn` | `--thread_num` | Maximum parallel threads | No | `8`
Range: 0 to Integer.Max(2147483647). | diff --git a/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool_timecho.md b/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool_timecho.md index 6f8263103..3069f6068 100644 --- a/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool_timecho.md +++ b/src/UserGuide/latest-Table/Tools-System/Data-Import-Tool_timecho.md @@ -50,7 +50,7 @@ IoTDB supports three methods for data import: | `-u` | `--username` | Username. | No | `root` | | `-pw` | `--password` | Password. Supported for hidden input since V2.0.9.1 | No | `TimechoDB@2021`(Before V2.0.6 it is root) | | `-sql_dialect` | `--sql_dialect` | Select server model : tree or table | No | `tree` | -| ` -db ` | `--database` | ​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table` | - | +| ` -db ` | `--database` | ​Target database , applies only to `-sql_dialect=table` |Yes when `-sql_dialect = table`;
Starting from version V2.0.9.2, this parameter is optional when the file format is SQL. A prompt will be issued if the target database is not explicitly specified in either the parameter or the SQL statement. | - | | `-table` | `--table ` | Target table , required for CSV imports in table model | No | - | | `-s` | `--source` | Local path to the file/directory to import. ​​**Supported formats**​: CSV, SQL, TsFile. Unsupported formats trigger error: `The file name must end with "csv", "sql", or "tsfile"!` | ​**Yes** | - | | `-tn` | `--thread_num` | Maximum parallel threads | No | `8`
Range: 0 to Integer.Max(2147483647). | @@ -60,6 +60,7 @@ IoTDB supports three methods for data import: | `-ts` | `--trust_store` | Trust store. Supports hidden input. Supported since V2.0.9.1 | No | - | | `-tpw` | `--trust_store_password` | Trust store password. Supports hidden input. Supported since V2.0.9.1 | No | - | + ### 2.2 CSV Format #### 2.2.1 Command diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool_apache.md b/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool_apache.md index 3414f425b..48bd3a566 100644 --- a/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool_apache.md +++ b/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool_apache.md @@ -52,7 +52,7 @@ IoTDB 支持三种方式进行数据导入: | -pw | --password | 密码,自 V2.0.9-beta 起支持隐藏输入 | 否 | root | | -s | --source | 待加载的脚本文件(夹)的本地目录路径
如果为 csv sql tsfile 这三个支持的格式,直接导入
不支持的格式,报错提示`The file name must end with "csv" or "sql"or "tsfile"!` | √ | | -sql_dialect | --sql_dialect | 选择 server 是树模型还是表模型,当前支持 tree 和 table 类型 | 否 | tree | -| -db | --database | 数据将要导入的目标库,只在 `-sql_dialect` 为 table 类型下生效。 |-sql_dialect 为 table 时必填 | - | +| -db | --database | 数据将要导入的目标库,只在 `-sql_dialect` 为 table 类型下生效。 |-sql_dialect 为 table 时必填;
V2.0.9-beta 版本起,当文件格式为 SQL 时,该参数为可选参数,若参数或 SQL 中均未显式指定目标数据库时会进行提示。 | - | | -table | --table | 数据将要导入的目标表,只在 `-sql_dialect` 为 table 类型且文件类型为 csv 条件下生效且必填。 | 否 | - | | -tn | --thread\_num | 最大并行线程数 | 否 | 8
范围:0~Integer.Max=2147483647 | | -tz | --timezone | 时区设置,例如`+08:00`或`-01:00` | 否 | 本机系统时间 | diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool_timecho.md b/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool_timecho.md index 6341f0649..89fdb59fd 100644 --- a/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool_timecho.md +++ b/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool_timecho.md @@ -53,7 +53,7 @@ IoTDB 支持三种方式进行数据导入: | -pw | --password | 密码,自 V2.0.9.1 起支持隐藏输入 | 否 | TimechoDB@2021 (V2.0.6 版本之前为 root) | | -s | --source | 待加载的脚本文件(夹)的本地目录路径
如果为 csv sql tsfile 这三个支持的格式,直接导入
不支持的格式,报错提示`The file name must end with "csv" or "sql"or "tsfile"!` | √ | | -sql_dialect | --sql_dialect | 选择 server 是树模型还是表模型,当前支持 tree 和 table 类型 | 否 | tree | -| -db | --database | 数据将要导入的目标库,只在 `-sql_dialect` 为 table 类型下生效。 |-sql_dialect 为 table 时必填 | - | +| -db | --database | 数据将要导入的目标库,只在 `-sql_dialect` 为 table 类型下生效。 |-sql_dialect 为 table 时必填;
V2.0.9.2 版本起,当文件格式为 SQL 时,该参数为可选参数,若参数或 SQL 中均未显式指定目标数据库时会进行提示。 | - | | -table | --table | 数据将要导入的目标表,只在 `-sql_dialect` 为 table 类型且文件类型为 csv 条件下生效且必填。 | 否 | - | | -tn | --thread\_num | 最大并行线程数 | 否 | 8
范围:0~Integer.Max=2147483647 | | -tz | --timezone | 时区设置,例如`+08:00`或`-01:00` | 否 | 本机系统时间 | @@ -63,6 +63,7 @@ IoTDB 支持三种方式进行数据导入: | -tpw | --trust_store_password | 信任库密码。支持隐藏输入,自 V2.0.9.1 起支持 | 否 | - | + ### 2.2 CSV 格式 #### 2.2.1 运行命令 diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool_apache.md b/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool_apache.md index 3414f425b..48bd3a566 100644 --- a/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool_apache.md +++ b/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool_apache.md @@ -52,7 +52,7 @@ IoTDB 支持三种方式进行数据导入: | -pw | --password | 密码,自 V2.0.9-beta 起支持隐藏输入 | 否 | root | | -s | --source | 待加载的脚本文件(夹)的本地目录路径
如果为 csv sql tsfile 这三个支持的格式,直接导入
不支持的格式,报错提示`The file name must end with "csv" or "sql"or "tsfile"!` | √ | | -sql_dialect | --sql_dialect | 选择 server 是树模型还是表模型,当前支持 tree 和 table 类型 | 否 | tree | -| -db | --database | 数据将要导入的目标库,只在 `-sql_dialect` 为 table 类型下生效。 |-sql_dialect 为 table 时必填 | - | +| -db | --database | 数据将要导入的目标库,只在 `-sql_dialect` 为 table 类型下生效。 |-sql_dialect 为 table 时必填;
V2.0.9-beta 版本起,当文件格式为 SQL 时,该参数为可选参数,若参数或 SQL 中均未显式指定目标数据库时会进行提示。 | - | | -table | --table | 数据将要导入的目标表,只在 `-sql_dialect` 为 table 类型且文件类型为 csv 条件下生效且必填。 | 否 | - | | -tn | --thread\_num | 最大并行线程数 | 否 | 8
范围:0~Integer.Max=2147483647 | | -tz | --timezone | 时区设置,例如`+08:00`或`-01:00` | 否 | 本机系统时间 | diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool_timecho.md b/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool_timecho.md index 6341f0649..e84b56cb9 100644 --- a/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool_timecho.md +++ b/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool_timecho.md @@ -53,7 +53,7 @@ IoTDB 支持三种方式进行数据导入: | -pw | --password | 密码,自 V2.0.9.1 起支持隐藏输入 | 否 | TimechoDB@2021 (V2.0.6 版本之前为 root) | | -s | --source | 待加载的脚本文件(夹)的本地目录路径
如果为 csv sql tsfile 这三个支持的格式,直接导入
不支持的格式,报错提示`The file name must end with "csv" or "sql"or "tsfile"!` | √ | | -sql_dialect | --sql_dialect | 选择 server 是树模型还是表模型,当前支持 tree 和 table 类型 | 否 | tree | -| -db | --database | 数据将要导入的目标库,只在 `-sql_dialect` 为 table 类型下生效。 |-sql_dialect 为 table 时必填 | - | +| -db | --database | 数据将要导入的目标库,只在 `-sql_dialect` 为 table 类型下生效。 |-sql_dialect 为 table 时必填;
V2.0.9.2 版本起,当文件格式为 SQL 时,该参数为可选参数,若参数或 SQL 中均未显式指定目标数据库时会进行提示。 | - | | -table | --table | 数据将要导入的目标表,只在 `-sql_dialect` 为 table 类型且文件类型为 csv 条件下生效且必填。 | 否 | - | | -tn | --thread\_num | 最大并行线程数 | 否 | 8
范围:0~Integer.Max=2147483647 | | -tz | --timezone | 时区设置,例如`+08:00`或`-01:00` | 否 | 本机系统时间 |