You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/08/07 14:37:23 UTC

[GitHub] [incubator-doris] hf200012 commented on a change in pull request #6389: [Doc] Add document for datax and sample codes

hf200012 commented on a change in pull request #6389:
URL: https://github.com/apache/incubator-doris/pull/6389#discussion_r684640417



##########
File path: docs/zh-CN/best-practices/samples.md
##########
@@ -0,0 +1,57 @@
+---
+{
+    "title": "使用示例",
+    "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 代码库中提供了丰富的使用示例,能够帮助 Doris 用户快速上手体验 Doris 的功能。
+
+## 示例说明
+
+示例代码都存放在 Doris 代码库的 [`samples/`](https://github.com/apache/incubator-doris/tree/master/samples) 目录下。
+
+```
+.
+├── connect
+├── doris-demo
+├── insert
+└── mini_load
+```
+
+* `connect/`
+
+    该目录下主要展示了各个程序语言连接 Doris 的代码示例。
+    
+* `doris-demo/`
+
+    该目下主要以 Maven 工程的形式,展示了 Doris 多个功能的代码示例。如 spark-connector 和 flink-connector 的使用示例、与 Spring 框架集成的示例、Stream Load 导入示例等等。

Review comment:
       主要是原先有三个,其实还需要在整理一下按照语言分类,该删除的删除,改迁移到doris-demo下的迁移




-- 
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-unsubscribe@doris.apache.org

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



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