From 97c6defe95fda8f3931f2a6b1dab84e3f397bfae Mon Sep 17 00:00:00 2001 From: Leto_b Date: Wed, 14 May 2025 10:29:04 +0800 Subject: [PATCH] fix param -tp in data import tool --- .../Table/Tools-System/Data-Import-Tool.md | 4 ++-- .../Tree/Tools-System/Data-Import-Tool.md | 4 ++-- .../Tools-System/Data-Import-Tool-1-3-4.md | 18 +++++++++--------- .../Tools-System/Data-Import-Tool-1-3-4.md | 4 ++-- .../Tools-System/Data-Import-Tool.md | 4 ++-- .../latest/Tools-System/Data-Import-Tool.md | 4 ++-- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md b/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md index b77509a3f..c609613e9 100644 --- a/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md +++ b/src/zh/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md @@ -77,7 +77,7 @@ | -aligned | --use\_aligned | 是否导入为对齐序列 | 否 | false | | -batch | --batch\_size | 指定每调用一次接口处理的数据行数(最小值为1,最大值为Integer.​*MAX\_VALUE*​) | 否 | 100000
范围:0~Integer.Max=2147483647 | | -ti | --type\_infer | 通过选项定义类型信息,例如`"boolean=text,int=long, ..."` | 否 | 无 | -| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms +| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms | #### 2.2.3 运行示例 @@ -176,7 +176,7 @@ Fail to insert measurements '[column.name]' caused by [data type is not consiste | -sd | --success\_dir | 当`--on_succcess`为 mv 或 cp 时,mv 或 cp 的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_succcess`为mv或cp时需要填写 | `${EXEC_DIR}/success`| | -of| --on\_fail| 1. none:跳过
2. mv:移动失败的文件到目标文件夹
3. cp:硬连接(拷贝)失败的文件到目标文件夹
4. delete:删除 | √ || | -fd | --fail\_dir | 当`--on_fail`指定为 mv 或 cp 时,mv 或 cp 的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_fail`指定为 mv 或 cp 时需要填写 | `${EXEC_DIR}/fail` | -| -tp | --timestamp\_precision | 时间戳精度
tsfile 非远程导入:-tp 指定 tsfile 文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定 tsfile 文件的时间精度 pipe 自动校验时间戳精度是否一致 不一致返回 pipe 报错信息 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms| +| -tp | --timestamp\_precision | 时间戳精度
tsfile 非远程导入:-tp 指定 tsfile 文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定 tsfile 文件的时间精度 pipe 自动校验时间戳精度是否一致 不一致返回 pipe 报错信息 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms| #### 2.4.3 运行示例 diff --git a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md index fd267bcb7..dcb46c84a 100644 --- a/src/zh/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md +++ b/src/zh/UserGuide/Master/Tree/Tools-System/Data-Import-Tool.md @@ -79,7 +79,7 @@ IoTDB 支持两种方式进行数据导入 | -aligned | --use\_aligned | 是否导入为对齐序列 | 否 | false | | -batch | --batch\_size | 指定每调用一次接口处理的数据行数(最小值为1,最大值为Integer.​*MAX\_VALUE*​) | 否 | 100000
范围:0~Integer.Max=2147483647 | | -ti | --type\_infer | 通过选项定义类型信息,例如`"boolean=text,int=long, ..."` | 否 | 无 | -| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms +| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms | #### 2.2.3 运行示例 @@ -206,7 +206,7 @@ error: Invalid thread number '0'. Please set a positive integer. | -sd | --success\_dir | 当`--on_succcess`为mv或cp时,mv或cp的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_succcess`为mv或cp时需要填写 | `${EXEC_DIR}/success`| | -of| --on\_fail| 1. none:跳过
2. mv:移动失败的文件到目标文件夹
3. cp:硬连接(拷贝)失败的文件到目标文件夹
4. delete:删除 | √ || | -fd | --fail\_dir | 当`--on_fail`指定为mv或cp时,mv或cp的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_fail`指定为mv或cp时需要填写 | `${EXEC_DIR}/fail` | -| -tp | --timestamp\_precision | 时间戳精度
tsfile非远程导入:-tp 指定tsfile文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定tsfile文件的时间精度 pipe自动校验时间戳精度是否一致 不一致返回pipe报错信息 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms| +| -tp | --timestamp\_precision | 时间戳精度
tsfile非远程导入:-tp 指定tsfile文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定tsfile文件的时间精度 pipe自动校验时间戳精度是否一致 不一致返回pipe报错信息 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms| #### 2.4.3 运行示例 diff --git a/src/zh/UserGuide/V1.3.x/Tools-System/Data-Import-Tool-1-3-4.md b/src/zh/UserGuide/V1.3.x/Tools-System/Data-Import-Tool-1-3-4.md index cf16611e9..c3198a8ce 100644 --- a/src/zh/UserGuide/V1.3.x/Tools-System/Data-Import-Tool-1-3-4.md +++ b/src/zh/UserGuide/V1.3.x/Tools-System/Data-Import-Tool-1-3-4.md @@ -72,14 +72,14 @@ IoTDB 支持两种方式进行数据导入 #### 2.2.2 私有参数 -| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | -| ---------- | ---------------------------- | ----------------------------------------------------------------------------------- |-------------------------------------------|---------------------------------------| -| -fd | --fail\_dir | 指定保存失败文件的目录 | 否 | YOUR\_CSV\_FILE\_PATH | -| -lpf | --lines\_per\_failed\_file | 指定失败文件最大写入数据的行数 | 否 | 100000
范围:0~Integer.Max=2147483647 | -| -aligned | --use\_aligned | 是否导入为对齐序列 | 否 | false | -| -batch | --batch\_size | 指定每调用一次接口处理的数据行数(最小值为1,最大值为Integer.​*MAX\_VALUE*​) | 否 | 100000
范围:0~Integer.Max=2147483647 | -| -ti | --type\_infer | 通过选项定义类型信息,例如`"boolean=text,int=long, ..."` | 否 | 无 | -| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms +| 参数缩写 | 参数全称 | 参数含义 | 是否为必填项 | 默认值 | +| ---------- | ---------------------------- | ---------------------------------------------------------------------------------- |--------|---------------------------------------| +| -fd | --fail\_dir | 指定保存失败文件的目录 | 否 | YOUR\_CSV\_FILE\_PATH | +| -lpf | --lines\_per\_failed\_file | 指定失败文件最大写入数据的行数 | 否 | 100000
范围:0~Integer.Max=2147483647 | +| -aligned | --use\_aligned | 是否导入为对齐序列 | 否 | false | +| -batch | --batch\_size | 指定每调用一次接口处理的数据行数(最小值为1,最大值为Integer.​*MAX\_VALUE*​) | 否 | 100000
范围:0~Integer.Max=2147483647 | +| -ti | --type\_infer | 通过选项定义类型信息,例如`"boolean=text,int=long, ..."` | 否 | 无 | +| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms | #### 2.2.3 运行示例 @@ -205,7 +205,7 @@ error: Invalid thread number '0'. Please set a positive integer. | -sd | --success\_dir | 当`--on_succcess`为mv或cp时,mv或cp的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_succcess`为mv或cp时需要填写 | `${EXEC_DIR}/success`| | -of| --on\_fail| 1. none:跳过
2. mv:移动失败的文件到目标文件夹
3. cp:硬连接(拷贝)失败的文件到目标文件夹
4. delete:删除 | √ || | -fd | --fail\_dir | 当`--on_fail`指定为mv或cp时,mv或cp的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_fail`指定为mv或cp时需要填写 | `${EXEC_DIR}/fail` | -| -tp | --timestamp\_precision | 时间戳精度
tsfile非远程导入:-tp 指定tsfile文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定tsfile文件的时间精度 pipe自动校验时间戳精度是否一致 不一致返回pipe报错信息 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms| +| -tp | --timestamp\_precision | 时间戳精度
tsfile非远程导入:-tp 指定tsfile文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定tsfile文件的时间精度 pipe自动校验时间戳精度是否一致 不一致返回pipe报错信息 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms| #### 2.4.3 运行示例 diff --git a/src/zh/UserGuide/dev-1.3/Tools-System/Data-Import-Tool-1-3-4.md b/src/zh/UserGuide/dev-1.3/Tools-System/Data-Import-Tool-1-3-4.md index cf16611e9..3c9652b5c 100644 --- a/src/zh/UserGuide/dev-1.3/Tools-System/Data-Import-Tool-1-3-4.md +++ b/src/zh/UserGuide/dev-1.3/Tools-System/Data-Import-Tool-1-3-4.md @@ -79,7 +79,7 @@ IoTDB 支持两种方式进行数据导入 | -aligned | --use\_aligned | 是否导入为对齐序列 | 否 | false | | -batch | --batch\_size | 指定每调用一次接口处理的数据行数(最小值为1,最大值为Integer.​*MAX\_VALUE*​) | 否 | 100000
范围:0~Integer.Max=2147483647 | | -ti | --type\_infer | 通过选项定义类型信息,例如`"boolean=text,int=long, ..."` | 否 | 无 | -| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms +| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms | #### 2.2.3 运行示例 @@ -205,7 +205,7 @@ error: Invalid thread number '0'. Please set a positive integer. | -sd | --success\_dir | 当`--on_succcess`为mv或cp时,mv或cp的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_succcess`为mv或cp时需要填写 | `${EXEC_DIR}/success`| | -of| --on\_fail| 1. none:跳过
2. mv:移动失败的文件到目标文件夹
3. cp:硬连接(拷贝)失败的文件到目标文件夹
4. delete:删除 | √ || | -fd | --fail\_dir | 当`--on_fail`指定为mv或cp时,mv或cp的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_fail`指定为mv或cp时需要填写 | `${EXEC_DIR}/fail` | -| -tp | --timestamp\_precision | 时间戳精度
tsfile非远程导入:-tp 指定tsfile文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定tsfile文件的时间精度 pipe自动校验时间戳精度是否一致 不一致返回pipe报错信息 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms| +| -tp | --timestamp\_precision | 时间戳精度
tsfile非远程导入:-tp 指定tsfile文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定tsfile文件的时间精度 pipe自动校验时间戳精度是否一致 不一致返回pipe报错信息 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms| #### 2.4.3 运行示例 diff --git a/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md b/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md index aec8b0017..9c70d17ad 100644 --- a/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md +++ b/src/zh/UserGuide/latest-Table/Tools-System/Data-Import-Tool.md @@ -77,7 +77,7 @@ | -aligned | --use\_aligned | 是否导入为对齐序列 | 否 | false | | -batch | --batch\_size | 指定每调用一次接口处理的数据行数(最小值为1,最大值为Integer.​*MAX\_VALUE*​) | 否 | 100000
范围:0~Integer.Max=2147483647 | | -ti | --type\_infer | 通过选项定义类型信息,例如`"boolean=text,int=long, ..."` | 否 | 无 | -| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms +| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms | #### 2.2.3 运行示例 @@ -177,7 +177,7 @@ Fail to insert measurements '[column.name]' caused by [data type is not consiste | -sd | --success\_dir | 当`--on_succcess`为 mv 或 cp 时,mv 或 cp 的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_succcess`为mv或cp时需要填写 | `${EXEC_DIR}/success`| | -of| --on\_fail| 1. none:跳过
2. mv:移动失败的文件到目标文件夹
3. cp:硬连接(拷贝)失败的文件到目标文件夹
4. delete:删除 | √ || | -fd | --fail\_dir | 当`--on_fail`指定为 mv 或 cp 时,mv 或 cp 的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_fail`指定为 mv 或 cp 时需要填写 | `${EXEC_DIR}/fail` | -| -tp | --timestamp\_precision | 时间戳精度
tsfile 非远程导入:-tp 指定 tsfile 文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定 tsfile 文件的时间精度 pipe 自动校验时间戳精度是否一致 不一致返回 pipe 报错信息 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms| +| -tp | --timestamp\_precision | 时间戳精度
tsfile 非远程导入:-tp 指定 tsfile 文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定 tsfile 文件的时间精度 pipe 自动校验时间戳精度是否一致 不一致返回 pipe 报错信息 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms| #### 2.4.3 运行示例 diff --git a/src/zh/UserGuide/latest/Tools-System/Data-Import-Tool.md b/src/zh/UserGuide/latest/Tools-System/Data-Import-Tool.md index fd267bcb7..dcb46c84a 100644 --- a/src/zh/UserGuide/latest/Tools-System/Data-Import-Tool.md +++ b/src/zh/UserGuide/latest/Tools-System/Data-Import-Tool.md @@ -79,7 +79,7 @@ IoTDB 支持两种方式进行数据导入 | -aligned | --use\_aligned | 是否导入为对齐序列 | 否 | false | | -batch | --batch\_size | 指定每调用一次接口处理的数据行数(最小值为1,最大值为Integer.​*MAX\_VALUE*​) | 否 | 100000
范围:0~Integer.Max=2147483647 | | -ti | --type\_infer | 通过选项定义类型信息,例如`"boolean=text,int=long, ..."` | 否 | 无 | -| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms +| -tp | --timestamp\_precision | 时间戳精度 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms | #### 2.2.3 运行示例 @@ -206,7 +206,7 @@ error: Invalid thread number '0'. Please set a positive integer. | -sd | --success\_dir | 当`--on_succcess`为mv或cp时,mv或cp的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_succcess`为mv或cp时需要填写 | `${EXEC_DIR}/success`| | -of| --on\_fail| 1. none:跳过
2. mv:移动失败的文件到目标文件夹
3. cp:硬连接(拷贝)失败的文件到目标文件夹
4. delete:删除 | √ || | -fd | --fail\_dir | 当`--on_fail`指定为mv或cp时,mv或cp的目标文件夹。文件的文件名变为文件夹打平后拼接原有文件名 | 当`--on_fail`指定为mv或cp时需要填写 | `${EXEC_DIR}/fail` | -| -tp | --timestamp\_precision | 时间戳精度
tsfile非远程导入:-tp 指定tsfile文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定tsfile文件的时间精度 pipe自动校验时间戳精度是否一致 不一致返回pipe报错信息 | 否:
1. ms(毫秒)
2. us(纳秒)
3. ns(微秒) | ms| +| -tp | --timestamp\_precision | 时间戳精度
tsfile非远程导入:-tp 指定tsfile文件的时间精度 手动校验和服务器的时间戳是否一致 不一致返回报错信息
远程导入:-tp 指定tsfile文件的时间精度 pipe自动校验时间戳精度是否一致 不一致返回pipe报错信息 | 否:
1. ms(毫秒)
2. us(微秒)
3. ns(纳秒) | ms| #### 2.4.3 运行示例