You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Table/Tools-System/Data-Export-Tool.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,12 @@ The data export tool `export-data.sh/bat` is located in the `tools` directory an
34
34
|`-h`|`--host`| Hostname of the IoTDB server. | No |`127.0.0.1`|
35
35
|`-p`|`--port`| Port number of the IoTDB server. | No |`6667`|
36
36
|`-u`|`--username`| Username for authentication. | No |`root`|
37
-
|`-pw`|`--password`| Password for authentication. | No |`root`|
38
-
|`-sql_dialect`|`--sql_dialect`| Select server model : tree or table | No | tree |
39
-
|`-db `|`--database`| The target database to be exported only takes effect when `-sql_dialect` is of the table type.| Yes when `-sql_dialect = table`| -|
40
-
|`-table`|`--table`| The target table to be exported only takes effect when `-sql_dialect` is of the table type. If the `-q` parameter is specified, this parameter will not take effect. If the export type is tsfile/sql, this parameter is mandatory.| No | - |
41
-
|`-start_time`|`--start_time`|The start time of the data to be exported only takes effect when `-sql_dialect` is of the table type. If `-q` is specified, this parameter will not take effect. The supported time formats are the same as those for the `-tf` parameter.|No | - |
42
-
|`-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 | - |
37
+
|`-pw`|`--password`| Password for authentication. | No |`TimechoDB@2021`(Before V2.0.6 it is root)|
38
+
|`-sql_dialect`|`--sql_dialect`| Select server model : tree or table | No | tree |
39
+
|`-db `|`--database`| The target database to be exported only takes effect when `-sql_dialect` is of the table type.| Yes when `-sql_dialect = table`| -|
40
+
|`-table`|`--table`| The target table to be exported only takes effect when `-sql_dialect` is of the table type. If the `-q` parameter is specified, this parameter will not take effect. If the export type is tsfile/sql, this parameter is mandatory.| No | - |
41
+
|`-start_time`|`--start_time`|The start time of the data to be exported only takes effect when `-sql_dialect` is of the table type. If `-q` is specified, this parameter will not take effect. The supported time formats are the same as those for the `-tf` parameter.|No | - |
42
+
|`-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 | - |
43
43
|`-t`|`--target`| Target directory for the output files. If the path does not exist, it will be created. | **Yes**| - |
44
44
|`-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`|
45
45
|`-q`|`--query`| SQL query command to execute. | No | - |
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Table/Tools-System/Data-Import-Tool.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,11 +46,11 @@ IoTDB supports three methods for data import:
46
46
|`-h`|`--host`| IoTDB server hostname. | No |`127.0.0.1`|
47
47
|`-p`|`--port`| IoTDB server port. | No |`6667`|
48
48
|`-u`|`--username`| Username. | No |`root`|
49
-
|`-pw`|`--password`| Password. | No |`root`|
49
+
|`-pw`|`--password`| Password. | No |`TimechoDB@2021`(Before V2.0.6 it is root)|
50
50
|
51
-
|`-sql_dialect`|`--sql_dialect`|Select server model : tree or table | No |`tree`|
52
-
|` -db `|`--database`|Target database , applies only to `-sql_dialect=table`|Yes when `-sql_dialect = table`| - |
53
-
|`-table`|`--table `|Target table , required for CSV imports in table model | No | - |
51
+
|`-sql_dialect`|`--sql_dialect`|Select server model : tree or table | No |`tree`|
52
+
|` -db `|`--database`|Target database , applies only to `-sql_dialect=table`|Yes when `-sql_dialect = table`| - |
53
+
|`-table`|`--table `|Target table , required for CSV imports in table model | No | - |
54
54
|
55
55
|`-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**| - |
56
56
|`-tn`|`--thread_num`| Maximum parallel threads | No |`8` <br> Range: 0 to Integer.Max(2147483647). |
0 commit comments