From 1334a3427411d0dfe17862e2592bf7881ef8b657 Mon Sep 17 00:00:00 2001 From: jyf111 <64510284+jyf111@users.noreply.github.com> Date: Wed, 11 Oct 2023 10:39:14 +0800 Subject: [PATCH] update use-importer.md: add notes on csv delimiter (#2285) * update use-importer.md add notes on csv delimiter * Update docs-2.0/nebula-importer/use-importer.md --------- Co-authored-by: abby.huang <78209557+abby-cyber@users.noreply.github.com> --- docs-2.0/nebula-importer/use-importer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-2.0/nebula-importer/use-importer.md b/docs-2.0/nebula-importer/use-importer.md index ff743f71a8a..b33210b34af 100644 --- a/docs-2.0/nebula-importer/use-importer.md +++ b/docs-2.0/nebula-importer/use-importer.md @@ -343,7 +343,7 @@ The configuration mainly includes the following parts: |:---|:---|:---|:---| |`sources.path`
`sources.s3`
`sources.oss`
`sources.ftp`
`sources.sftp`
`sources.hdfs` |-| No | Specify data source information, such as local file, HDFS, and S3. Only one source can be configured for the `source`. Configure multiple sources in multiple `source`.
See the comments in the example for configuration items for different data sources. | |`sources.batch` |`256`| No | The batch size for executing statements when importing this data source. The priority is higher than `manager.batch`. | -|`sources.csv.delimiter` |`,`| No | Specifies the delimiter for the CSV file. Only 1-character string separators are supported. When using special characters as separators, they need to be escaped. For example, when the delimiter is `0x03` in hexadecimal, i.e. `Ctrl+C`, the escape is written as `"\x03"` or `"\u0003"`. For details on escaping special characters in yaml format, see [Escaped Characters](https://yaml.org/spec/1.2.2/#escaped-characters).| | +|`sources.csv.delimiter` |`,`| No | Specifies the delimiter for the CSV file. Only 1-character string separators are supported. Special characters like tabs (`\t`) and hexadecimal values (e.g., `0x03` or `Ctrl+C`) must be properly escaped and enclosed in double quotes, such as `"\t"` for tabs and `"\x03"` or `"\u0003"` for hexadecimal values, instead of using single quotes. For details on escaping special characters in yaml format, see [Escaped Characters](https://yaml.org/spec/1.2.2/#escaped-characters).| | |`sources.csv.withHeader` |`false`| No | Whether to ignore the first record in the CSV file. | |`sources.csv.lazyQuotes` |`false`| No | Whether to allow lazy quotes. If `lazyQuotes` is true, a quote may appear in an unquoted field and a non-doubled quote may appear in a quoted field. | |`sources.tags.name` |-| Yes | The tag name. |