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 851157aa774 fix 851157aa774 is described below commit 851157aa774571c10a7eb29a7f68e25437971243 Author: jiafeng.zhang <zhang...@gmail.com> AuthorDate: Sat Oct 22 19:33:13 2022 +0800 fix --- .../sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md | 2 ++ .../sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md b/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md index f6a33014f5a..32780c16efb 100644 --- a/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md +++ b/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md @@ -232,6 +232,8 @@ distribution_desc `DISTRIBUTED BY HASH (k1[,k2 ...]) [BUCKETS num]` + Suggestion: It is recommended to use random bucketing when there is no suitable key for hash bucketing to make the data of the table evenly distributed. + * `rollup_list` Multiple materialized views (ROLLUP) can be created at the same time as the table is built. diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md index c9cbcf78be8..988243a51c8 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md @@ -233,6 +233,8 @@ distribution_desc `DISTRIBUTED BY HASH (k1[,k2 ...]) [BUCKETS num]` + 建议: 当没有合适的key做哈希分桶使得表的数据均匀分布的时候,建议使用RANDOM分桶方式。 + * `rollup_list` 建表的同时可以创建多个物化视图(ROLLUP)。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org