This is an automated email from the ASF dual-hosted git repository.

jakevin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a30e12ffb update data-model, add `error_code` into DUPLICATE KEY 
(#12131)
3a30e12ffb is described below

commit 3a30e12ffb45b51dc29054b5a10397a93d1bbbbc
Author: pangzhili <[email protected]>
AuthorDate: Sat Sep 3 14:23:29 2022 +0800

    update data-model, add `error_code` into DUPLICATE KEY (#12131)
---
 docs/en/docs/data-table/data-model.md    | 2 +-
 docs/zh-CN/docs/data-table/data-model.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/docs/data-table/data-model.md 
b/docs/en/docs/data-table/data-model.md
index 49299404ca..9694c52cfb 100644
--- a/docs/en/docs/data-table/data-model.md
+++ b/docs/en/docs/data-table/data-model.md
@@ -329,7 +329,7 @@ CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
     `op_id` BIGINT COMMENT "operater id",
     `op_time` DATETIME COMMENT "operate time"
 )
-DUPLICATE KEY(`timestamp`, `type`)
+DUPLICATE KEY(`timestamp`, `type`, `error_code`)
 DISTRIBUTED BY HASH(`type`) BUCKETS 1
 PROPERTIES (
 "replication_allocation" = "tag.location.default: 1"
diff --git a/docs/zh-CN/docs/data-table/data-model.md 
b/docs/zh-CN/docs/data-table/data-model.md
index 90f8df7b86..87e8362893 100644
--- a/docs/zh-CN/docs/data-table/data-model.md
+++ b/docs/zh-CN/docs/data-table/data-model.md
@@ -335,7 +335,7 @@ CREATE TABLE IF NOT EXISTS example_db.expamle_tbl
     `op_id` BIGINT COMMENT "负责人id",
     `op_time` DATETIME COMMENT "处理时间"
 )
-DUPLICATE KEY(`timestamp`, `type`)
+DUPLICATE KEY(`timestamp`, `type`, `error_code`)
 DISTRIBUTED BY HASH(`type`) BUCKETS 1
 PROPERTIES (
 "replication_allocation" = "tag.location.default: 1"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to