This is an automated email from the ASF dual-hosted git repository. jiafengzheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new c68681ace01 1 c68681ace01 is described below commit c68681ace01b4552d474f69ed7d34c2ebcbf392b Author: jiafeng.zhang <zhang...@gmail.com> AuthorDate: Wed Nov 16 18:55:07 2022 +0800 1 --- docs/ecosystem/datax.md | 5 ++--- i18n/zh-CN/docusaurus-plugin-content-docs/current/ecosystem/datax.md | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/ecosystem/datax.md b/docs/ecosystem/datax.md index 80b8877800d..9968212ba8f 100644 --- a/docs/ecosystem/datax.md +++ b/docs/ecosystem/datax.md @@ -285,7 +285,6 @@ my_import.json ], "loadProps": { "format": "json", - "read_json_by_line":"true", "strip_outer_array":"true", "line_delimiter": "\\x02" } @@ -307,14 +306,14 @@ my_import.json >```json >"loadProps": { > "format": "json", -> "read_json_by_line": "true", +> > "strip_outer_array": "true", > "line_delimiter": "\\x02" >} >``` > >1. Here we use JSON format to import data ->2. read_json_by_line=true means that a batch of imported data represents multiple lines instead of JSON Object. To use this parameter, you must cooperate with `line_delimiter`. The default is a newline character, which may conflict with the value in the data. We can Use some special characters or invisible characters to avoid import errors +>2. `line_delimiter` defaults to a newline character, which may conflict with the value in the data, we can use some special characters or invisible characters to avoid import errors >3. strip_outer_array : Represents multiple rows of data in a batch of >imported data. Doris will expand the array when parsing, and then parse each >Object in it as a row of data in turn. >4. For more parameters of Stream load, please refer to [Stream load >document]([Stream load - Apache >Doris](https://doris.apache.org/zh-CN/docs/dev/data-operate/import/import-way >/stream-load-manual)) >5. If it is in CSV format, we can use it like this diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/ecosystem/datax.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/ecosystem/datax.md index f530ba69f2e..2d623827ebd 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/ecosystem/datax.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/ecosystem/datax.md @@ -285,7 +285,6 @@ my_import.json ], "loadProps": { "format": "json", - "read_json_by_line":"true", "strip_outer_array":"true", "line_delimiter": "\\x02" } @@ -307,14 +306,13 @@ my_import.json >```json >"loadProps": { > "format": "json", -> "read_json_by_line":"true", > "strip_outer_array":"true", > "line_delimiter": "\\x02" >} >``` > >1. 这里我们使用了 JSON 格式导入数据 ->2. read_json_by_line=true 这种表示我们一批导入数据中表示多行,而不是以 JSON Object 方式,使用这个参数,必须配合 `line_delimiter` 默认是换行符,可能会和数据中的值冲突,我们可以使用一些特殊字符或者不可见字符,避免导入错误 +>2. `line_delimiter` 默认是换行符,可能会和数据中的值冲突,我们可以使用一些特殊字符或者不可见字符,避免导入错误 >3. strip_outer_array :在一批导入数据中表示多行数据,Doris 在解析时会将数组展开,然后依次解析其中的每一个 Object >作为一行数据 >4. 更多 Stream load 参数请参照 [Stream load文档]([Stream load - Apache >Doris](https://doris.apache.org/zh-CN/docs/dev/data-operate/import/import-way/stream-load-manual)) >5. 如果是 CSV 格式我们可以这样使用 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org