You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/11/16 09:17:47 UTC

[GitHub] [iotdb] HTHou commented on a change in pull request #4401: Update csv user guide

HTHou commented on a change in pull request #4401:
URL: https://github.com/apache/iotdb/pull/4401#discussion_r750065022



##########
File path: docs/zh/UserGuide/System-Tools/CSV-Tool.md
##########
@@ -168,42 +168,43 @@ Time,Device,str(TEXT),int(INT32)
 1970-01-01T08:00:00.001+08:00,root.test.t2,"123\,abc",100
 ```
 
-#### 运行方法
+### 运行方法
 
 ```shell
-# Unix/OS X>
-tools/import-csv.sh -h <ip> -p <port> -u <username> -pw <password> -f <xxx.csv> [-fd <./failedDirectory>]
-
-# Windows>
-tools\import-csv.bat -h <ip> -p <port> -u <username> -pw <password> -f <xxx.csv> [-fd <./failedDirectory>]
+# Unix/OS X
+>tools/import-csv.sh -h <ip> -p <port> -u <username> -pw <password> -f <xxx.csv> [-fd <./failedDirectory>]
+# Windows
+>tools\import-csv.bat -h <ip> -p <port> -u <username> -pw <password> -f <xxx.csv> [-fd <./failedDirectory>]
 ```
 
 参数:
 
 * `-f`:
-    - 指定你想要导入的数据。
-    - 例如: `-f filename.csv`
+  - 指定你想要导入的数据,这里可以指定文件或者文件夹。如果指定的是文件夹,将会把文件夹中所有的后缀为txt与csv的文件进行批量导入。
+  - 例如: `-f filename.csv`
 
 * `-fd`:
-    - 指定一个目录来存放保存失败的行的文件,如果你没有指定这个参数,失败的文件将会被保存到源数据的目录中,然后文件名是源文件名加上`.failed`的后缀。
-    - example: `-fd ./failed/`
+  - 指定一个目录来存放保存失败的行的文件,如果你没有指定这个参数,失败的文件将会被保存到源数据的目录中,然后文件名是源文件名加上`.failed`的后缀。
+  - example: `-fd ./failed/`
 
-#### 运行示例
+### Example

Review comment:
       ```suggestion
   ### 运行示例
   ```




-- 
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