This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new e431574 [Doc] Avoid ambiguity (#6106)
e431574 is described below
commit e43157421d4d62767493e3c960d0098c092d87eb
Author: Jinyuan <[email protected]>
AuthorDate: Thu Jul 1 09:18:56 2021 +0800
[Doc] Avoid ambiguity (#6106)
Improve the document to avoid ambiguity.
The password use case in the example should be identical to the
foregoing(Part 1.3).
---
docs/en/getting-started/basic-usage.md | 2 +-
docs/zh-CN/getting-started/basic-usage.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/en/getting-started/basic-usage.md
b/docs/en/getting-started/basic-usage.md
index fe978e5..4819c76 100644
--- a/docs/en/getting-started/basic-usage.md
+++ b/docs/en/getting-started/basic-usage.md
@@ -249,7 +249,7 @@ Streaming import transfers data to Doris via HTTP protocol.
It can import local
Example 1: With "table1_20170707" as Label, import table1 tables using the
local file table1_data.
```
-curl --location-trusted -u test:test -H "label:table1_20170707" -H
"column_separator:," -T table1_data
http://FE_HOST:8030/api/example_db/table1/_stream_load
+curl --location-trusted -u test:test_passwd -H "label:table1_20170707" -H
"column_separator:," -T table1_data
http://FE_HOST:8030/api/example_db/table1/_stream_load
```
> 1. FE_HOST is the IP of any FE node and 8030 is http_port in fe.conf.
diff --git a/docs/zh-CN/getting-started/basic-usage.md
b/docs/zh-CN/getting-started/basic-usage.md
index 63ce0c3..3f99bad 100644
--- a/docs/zh-CN/getting-started/basic-usage.md
+++ b/docs/zh-CN/getting-started/basic-usage.md
@@ -248,7 +248,7 @@ Doris 支持多种数据导入方式。具体可以参阅数据导入文档。
示例1:以 "table1_20170707" 为 Label,使用本地文件 table1_data 导入 table1 表。
```
-curl --location-trusted -u test:test -H "label:table1_20170707" -H
"column_separator:," -T table1_data
http://FE_HOST:8030/api/example_db/table1/_stream_load
+curl --location-trusted -u test:test_passwd -H "label:table1_20170707" -H
"column_separator:," -T table1_data
http://FE_HOST:8030/api/example_db/table1/_stream_load
```
> 1. FE_HOST 是任一 FE 所在节点 IP,8030 为 fe.conf 中的 http_port。
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]