liaoxin01 commented on code in PR #1511:
URL: https://github.com/apache/doris-website/pull/1511#discussion_r1891056957


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/data-source/amazon-s3.md:
##########
@@ -0,0 +1,189 @@
+---
+{
+    "title": "Amazon S3",
+    "language": "zh-CN"
+}
+---
+
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+Doris 提供两种方式从 AWS S3 导入文件:
+- 使用 S3 Load 将 S3 文件导入到 Doris 中,这是一个异步的导入方式。

Review Comment:
   s3 load 和 tvf在这里加下链接的



##########
sidebars.json:
##########
@@ -157,6 +157,21 @@
                             "label": "Loading Data",
                             "items": [
                                 "data-operate/import/load-manual",
+                                {
+                                    "type": "category",
+                                    "label": "Data Source",
+                                    "items": [
+                                        "data-operate/import/data-source/hdfs",

Review Comment:
   hdfs放到对象存储的后面吧



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/data-source/minio.md:
##########
@@ -0,0 +1,204 @@
+---
+{
+    "title": "MinIO",
+    "language": "zh-CN"
+}
+---
+
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+Doris 提供两种方式从 MinIO 导入文件:
+- 使用 S3 Load 将 MinIO 文件导入到 Doris 中,这是一个异步的导入方式。
+- 使用 TVF 将 MinIO 文件导入到 Doris 中,这是一个同步的导入方式。
+
+## 使用 S3 Load 导入 
+
+使用 S3 Load 导入对象存储上的文件,详细步骤可以参考 [Broker Load 
手册](../import-way/broker-load-manual.md)
+
+### 第 1 步:准备数据
+
+创建 CSV 文件 s3load_example.csv 文件存储在 MinIO 上,其内容如下:
+
+```
+1,Emily,25
+2,Benjamin,35
+3,Olivia,28
+4,Alexander,60
+5,Ava,17
+6,William,69
+7,Sophia,32
+8,James,64
+9,Emma,37
+10,Liam,64
+```
+
+### 第 2 步:在 Doris 中创建表
+
+```sql
+CREATE TABLE test_s3load(
+    user_id            BIGINT       NOT NULL COMMENT "user id",
+    name               VARCHAR(20)           COMMENT "name",
+    age                INT                   COMMENT "age"
+)
+DUPLICATE KEY(user_id)
+DISTRIBUTED BY HASH(user_id) BUCKETS 10;
+```
+
+### 第 3 步:使用 S3 Load 导入数据
+
+:::caution 注意
+如果您在本地网络中部署了 MinIO 并且未启用 TLS,则需要在 endpoint 字符串中明确添加 `http://`。

Review Comment:
   加个use_path_style的提示



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to