yunqingmoswu commented on code in PR #586:
URL: https://github.com/apache/inlong-website/pull/586#discussion_r1016100838


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/load_node/doris.md:
##########
@@ -82,11 +131,43 @@ mysql> CREATE TABLE `cdc_doris_sink` (
        );
 Query OK, 0 rows affected (0.06 sec)
 ```
+- 多表写入:在 Doris `user_db`数据库中创建表`doris_user_id_name`、`doris_user_id_score`。命令如下:
+```sql
+[root@fe001 ~]# mysql -u root -h localhost -P 9030 -p000000
+mysql> use user_db;
+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_user_id_name` (
+       `id` int(11) NOT NULL COMMENT "用户id",
+       `name` varchar(50) NOT NULL COMMENT "昵称"
+       ) ENGINE=OLAP
+       UNIQUE KEY(`id`)
+       COMMENT "OLAP"
+       DISTRIBUTED BY HASH(`id`) BUCKETS 1
+       PROPERTIES (
+       "replication_allocation" = "tag.location.default: 1"
+       );
+Query OK, 0 rows affected (0.06 sec)
+
+mysql> CREATE TABLE `doris_user_id_score` (
+       `id` int(11) NOT NULL COMMENT "用户id",
+       `score` double default 0
+       ) ENGINE=OLAP
+       UNIQUE KEY(`id`)
+       COMMENT "OLAP"
+       DISTRIBUTED BY HASH(`id`) BUCKETS 1
+       PROPERTIES (
+       "replication_allocation" = "tag.location.default: 1"
+       );
+Query OK, 0 rows affected (0.06 sec)
+```
 
 ## 如何创建 Doris Load 节点
 
 ### SQL API 用法
-
+- 单表写入:doris单表写入

Review Comment:
   中英文用空格隔开,首字母大写



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/load_node/doris.md:
##########
@@ -168,6 +296,13 @@ TODO: 将在未来支持此功能。
 | sink.batch.interval               | 可选   | 10s               | string   | 
Flush 间隔时间,超过该时间后异步线程将缓存中数据写入 BE。 默认值为10秒,支持时间单位 ms、s、min、h和d。设置为0表示关闭定期写入。     
                                                                                
                                                                                
                                                       |
 | sink.properties.*                 | 可选   | (none)            | string   | 
Stream load 的导入参数<br /><br />例如:<br />'sink.properties.column_separator' = ', 
'<br />定义列分隔符<br /><br />'sink.properties.escape_delimiters' = 'true'<br 
/>特殊字符作为分隔符,'\\x01'会被转换为二进制的0x01<br /><br /> 'sink.properties.format' = 
'json'<br />'sink.properties.strip_outer_array' = 'true' <br />JSON格式导入 |
 | sink.enable-delete                | 可选   | true              | boolean  | 
是否启用删除。此选项需要 Doris 表开启批量删除功能(0.15+版本默认开启),只支持 Uniq 模型。                          
                                                                                
                                                                                
                                                       |
+| sink.enable-delete                | 可选   | true              | boolean  | 
是否启用删除。此选项需要 Doris 表开启批量删除功能(0.15+版本默认开启),只支持 Uniq 模型。                          
                                                                                
                                                                                
                                                       |
+| sink.multiple.enable              | 可选   | false             | boolean  | 
是否支持Doris多表写入。`sink.multiple.enable`为`true`时,需要`sink.multiple.format`、`sink.multiple.database-pattern`、`sink.multiple.table-pattern`
 分别设置正确的值。        |

Review Comment:
   中英文用空格隔开



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/load_node/doris.md:
##########
@@ -132,7 +212,55 @@ Flink SQL> insert into cdc_doris_sink select * from 
cdc_mysql_source /*+ OPTIONS
 [INFO] Submitting SQL update statement to the cluster...
 [INFO] SQL update statement has been successfully submitted to the cluster:
 Job ID: 5f89691571d7b3f3ca446589e3d0c3d3
+```
+
+- 多表写入:doris多表写入

Review Comment:
   中英文用空格隔开,首字母大写



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to