dataroaring commented on code in PR #2954:
URL: https://github.com/apache/doris-website/pull/2954#discussion_r2418399139
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/update/multi-stream-update-for-unique-model.md:
##########
@@ -0,0 +1,133 @@
+---
+{
+ "title": "主键模型的多流更新",
+ "language": "zh-CN"
+}
+---
+
+## 概览
+Doris的unique表为了保证了replace的顺序可控,提供了按照sequence列更新的功能。即在相同key列下,replace聚合类型的列将按照sequence列的值进行替换,较大值可以替换较小值,反之则不可以。但在有些业务场景中,业务需要通过两条或者多条数据流,对同一个大宽表中的不同列进行更新。
比如一条数据流会实时写入,更新这张表的部分字段;另一条数据流按需执行导入,更新这张表的其他列。在更新时,这两流作业都需要保证replace的先后顺序;而且在查询时需要对所有列的数据能够进行查询。
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]