This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new e1aacbe480b udpate data-model (#71)
e1aacbe480b is described below
commit e1aacbe480b00514f72ee2e1b90bbb02c1ff6785
Author: pangzhili <[email protected]>
AuthorDate: Mon Aug 29 13:37:31 2022 +0800
udpate data-model (#71)
---
docs/data-table/data-model.md | 2 +-
.../docusaurus-plugin-content-docs/current/data-table/data-model.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/data-table/data-model.md b/docs/data-table/data-model.md
index 49299404cae..9694c52cfb8 100644
--- a/docs/data-table/data-model.md
+++ b/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/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-model.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-model.md
index 90f8df7b867..87e83628930 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-table/data-model.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/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]