From 9e5ca697f3aa58e9b444ca7bb272a12756cba1cb Mon Sep 17 00:00:00 2001 From: caiconghui <55968745+caiconghui@users.noreply.github.com> Date: Mon, 27 Jul 2020 03:50:15 -0500 Subject: [PATCH] [Doc] Fix typo for stream load content in basic-usage.md (#4185) --- docs/en/getting-started/basic-usage.md | 14 +++++++------- docs/zh-CN/getting-started/basic-usage.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/en/getting-started/basic-usage.md b/docs/en/getting-started/basic-usage.md index aea122be9f..8853a46628 100644 --- a/docs/en/getting-started/basic-usage.md +++ b/docs/en/getting-started/basic-usage.md @@ -268,17 +268,17 @@ The local file `table1_data` takes `,` as the separation between data, and the s Example 2: With "table2_20170707" as Label, import table2 tables using the local file table2_data. ``` -curl --location-trusted -u test:test -H "label:table2_20170707" -H "column_separator:," -T table1_data http://127.0.0.1:8030/api/example_db/table2/_stream_load +curl --location-trusted -u test:test -H "label:table2_20170707" -H "column_separator:|" -T table2_data http://127.0.0.1:8030/api/example_db/table2/_stream_load ``` -The local file `table2_data'is separated by `t'. The details are as follows: +The local file `table2_data'is separated by `|'. The details are as follows: ``` -2017-07-03 1 1 jim 2 -2017-07-05 2 1 grace 2 -2017-07-12 3 2 tom 2 -2017-07-15 4 3 bush 3 -2017-07-12 5 3 helen 3 +2017-07-03|1|1|jim|2 +2017-07-05|2|1|grace|2 +2017-07-12|3|2|tom|2 +2017-07-15|4|3|bush|3 +2017-07-12|5|3|helen|3 ``` > Notes: diff --git a/docs/zh-CN/getting-started/basic-usage.md b/docs/zh-CN/getting-started/basic-usage.md index c9ac3ea92d..ff96a37d56 100644 --- a/docs/zh-CN/getting-started/basic-usage.md +++ b/docs/zh-CN/getting-started/basic-usage.md @@ -267,7 +267,7 @@ curl --location-trusted -u test:test -H "label:table1_20170707" -H "column_separ 示例2: 以 "table2_20170707" 为 Label,使用本地文件 table2_data 导入 table2 表。 ``` -curl --location-trusted -u test:test -H "label:table2_20170707" -H "column_separator:|" -T table1_data http://127.0.0.1:8030/api/example_db/table2/_stream_load +curl --location-trusted -u test:test -H "label:table2_20170707" -H "column_separator:|" -T table2_data http://127.0.0.1:8030/api/example_db/table2/_stream_load ``` 本地文件 `table2_data` 以 `|` 作为数据之间的分隔,具体内容如下: