You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "dataroaring (via GitHub)" <gi...@apache.org> on 2023/04/21 11:33:31 UTC

[GitHub] [doris] dataroaring commented on a diff in pull request #18899: [doc](update-key)add update key doc

dataroaring commented on code in PR #18899:
URL: https://github.com/apache/doris/pull/18899#discussion_r1173663776


##########
docs/en/docs/data-operate/update-delete/update.md:
##########
@@ -123,6 +123,9 @@ Since the table order is a UNIQUE model, the rows with the same Key, after which
   |---|---|---| 
   | 1 | 100 | Pending shipments |
 
+## Update primary key column data
+Currently, the Update operation only supports updating the Value column, and the update of the Key column can refer to [Using FlinkCDC to update key column data synchronously](../../ecosystem/flink-doris-connector.md#Use-FlinkCDC-to-update-Key-column-data-synchronously)
+

Review Comment:
   Update primary key column is enough.



##########
docs/en/docs/ecosystem/flink-doris-connector.md:
##########
@@ -441,6 +441,16 @@ WITH (
 insert into doris_sink select id,name from cdc_mysql_source;
 ```
 
+## Use FlinkCDC to update Key column data synchronously
+Generally, in a business database, the number is used as the primary key of the table, such as the Student table, the number (id) is used as the primary key, but with the development of the business, the number corresponding to the data may change.

Review Comment:
   same as above.



##########
docs/zh-CN/docs/data-operate/update-delete/update.md:
##########
@@ -120,6 +120,9 @@ Query OK, 1 row affected (0.11 sec)
   |---|---|---| 
   | 1 | 100 | 待发货 |
 
+## 更新主键列数据
+目前Update操作只支持更新Value列,Key列的更新可参考[使用FlinkCDC同步更新Key列数据](../../ecosystem/flink-doris-connector.md#使用FlinkCDC同步更新Key列数据)
+

Review Comment:
   same as above



##########
docs/zh-CN/docs/ecosystem/flink-doris-connector.md:
##########
@@ -433,6 +436,16 @@ WITH (
 insert into doris_sink select id,name from cdc_mysql_source;
 ```
 
+## 使用FlinkCDC同步更新Key列数据

Review Comment:
   same as above



-- 
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