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

luzhijing 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 f33fed824b [doc] fix release-2.1.0.md (#751)
f33fed824b is described below

commit f33fed824b140ca13d2db23cab32965196b66b2d
Author: Xujian Duan <[email protected]>
AuthorDate: Fri Jun 21 16:51:28 2024 +0800

    [doc] fix release-2.1.0.md (#751)
    
    create table stmt is not correct
---
 blog/release-note-2.1.0.md                                       | 9 +--------
 .../current/releasenotes/release-2.1.0.md                        | 9 +--------
 .../version-2.1/releasenotes/release-2.1.0.md                    | 9 +--------
 3 files changed, 3 insertions(+), 24 deletions(-)

diff --git a/blog/release-note-2.1.0.md b/blog/release-note-2.1.0.md
index c6a9cb6fd6..1d73a886d7 100644
--- a/blog/release-note-2.1.0.md
+++ b/blog/release-note-2.1.0.md
@@ -336,14 +336,7 @@ CREATE TABLE `demo`.`records_tbl2` (
     `phone` varchar(16) NOT NULL COMMENT "",
     `mktsegment` varchar(11) NOT NULL COMMENT "",
     `unique_value` BIGINT NOT NULL AUTO_INCREMENT
-) DUPLICATE KEY (`key`, `name`)CREATE TABLE ipv4_test (
-  `id` int,
-  `ip_v4` ipv4
-) ENGINE=OLAP
-DISTRIBUTED BY HASH(`id`) BUCKETS 4
-PROPERTIES (
-"replication_allocation" = "tag.location.default: 1"
-);
+) DUPLICATE KEY (`key`, `name`)
 DISTRIBUTED BY HASH(`key`) BUCKETS 10
 PROPERTIES (
     "replication_num" = "3"
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/release-2.1.0.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/release-2.1.0.md
index 652c56898f..2c26b45d66 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/release-2.1.0.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/releasenotes/release-2.1.0.md
@@ -341,14 +341,7 @@ CREATE TABLE `demo`.`records_tbl2` (
     `phone` varchar(16) NOT NULL COMMENT "",
     `mktsegment` varchar(11) NOT NULL COMMENT "",
     `unique_value` BIGINT NOT NULL AUTO_INCREMENT
-) DUPLICATE KEY (`key`, `name`)CREATE TABLE ipv4_test (
-  `id` int,
-  `ip_v4` ipv4
-) ENGINE=OLAP
-DISTRIBUTED BY HASH(`id`) BUCKETS 4
-PROPERTIES (
-"replication_allocation" = "tag.location.default: 1"
-);
+) DUPLICATE KEY (`key`, `name`)
 DISTRIBUTED BY HASH(`key`) BUCKETS 10
 PROPERTIES (
     "replication_num" = "3"
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/releasenotes/release-2.1.0.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/releasenotes/release-2.1.0.md
index 692ab8418d..3edb53106a 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/releasenotes/release-2.1.0.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/releasenotes/release-2.1.0.md
@@ -341,14 +341,7 @@ CREATE TABLE `demo`.`records_tbl2` (
     `phone` varchar(16) NOT NULL COMMENT "",
     `mktsegment` varchar(11) NOT NULL COMMENT "",
     `unique_value` BIGINT NOT NULL AUTO_INCREMENT
-) DUPLICATE KEY (`key`, `name`)CREATE TABLE ipv4_test (
-  `id` int,
-  `ip_v4` ipv4
-) ENGINE=OLAP
-DISTRIBUTED BY HASH(`id`) BUCKETS 4
-PROPERTIES (
-"replication_allocation" = "tag.location.default: 1"
-);
+) DUPLICATE KEY (`key`, `name`)
 DISTRIBUTED BY HASH(`key`) BUCKETS 10
 PROPERTIES (
     "replication_num" = "3"


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

Reply via email to