You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/09/13 09:59:16 UTC

[GitHub] [inlong-website] duowan1520 commented on a diff in pull request #536: [INLONG-535][Sort] Add doris docs

duowan1520 commented on code in PR #536:
URL: https://github.com/apache/inlong-website/pull/536#discussion_r969415558


##########
docs/data_node/extract_node/doris.md:
##########
@@ -0,0 +1,152 @@
+---
+title: Doris
+sidebar_position: 11
+---
+
+import {siteVariables} from '../../version';
+
+## Overview
+
+`Doris Extract` node supports reading data from Doris. This chapter describes how to set up a Doris Extract
+node to run SQL queries against the Doris database.
+
+## Supported Version
+
+| Extract Node	       | Doris version  |                                                                                                                                                                                                                                                                                                                                                                                           
+|---------------------|----------------|
+| [Doris](./doris.md) | 0.13+          |  
+
+## Dependencies
+
+In order to set up the Doris Extract node, the dependency information needed to use build automation tools
+such as Maven or SBT is provided below.
+
+### Maven dependency
+
+<pre><code parentName="pre">
+{`<dependency>
+    <groupId>org.apache.inlong</groupId>
+    <artifactId>sort-connector-doris</artifactId>
+    <version>${siteVariables.inLongVersion}</version>
+</dependency>
+`}
+</code></pre>
+
+## Prepare
+### Create a Doris Extract table
+First create a table `doris_extract_node` in the Doris database, the command is as follows:
+```
+[root@fe001 ~]# mysql -u root -h localhost -P 9030 -p000000
+mysql> use test;
+Reading table information for completion of table and column names
+You can turn off this feature to get a quicker startup with -A
+
+Database changed
+mysql> CREATE TABLE `doris_extract_node` (
+       `id` int(11) NOT NULL COMMENT "用户id",
+       `name` varchar(50) NOT NULL COMMENT "昵称",
+       `dr` tinyint(4) NULL COMMENT "逻辑删除"

Review Comment:
   i have fixed it



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

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