You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/10/24 11:53:27 UTC

[doris-website] branch master updated: update create table random bucket

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 4abeb82388c update create table random bucket
4abeb82388c is described below

commit 4abeb82388c54f776f1a3257c7bdc0dd1afe70ed
Author: jiafeng.zhang <zh...@gmail.com>
AuthorDate: Mon Oct 24 19:53:18 2022 +0800

    update create table random bucket
---
 .../sql-reference/Data-Definition-Statements/Create/CREATE-TABLE.md   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 988243a51c8..a8660daff9d 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
@@ -231,9 +231,9 @@ distribution_desc
   
     定义数据分桶方式。
 
-    `DISTRIBUTED BY HASH (k1[,k2 ...]) [BUCKETS num]`
+    1) Hash 分桶 语法: `DISTRIBUTED BY HASH (k1[,k2 ...]) [BUCKETS num]` 说明: 使用指定的 key 列进行哈希分桶。
 
-  建议: 当没有合适的key做哈希分桶使得表的数据均匀分布的时候,建议使用RANDOM分桶方式。
+  2. Random 分桶 语法: `DISTRIBUTED BY RANDOM [BUCKETS num]` 说明: 使用随机数进行分桶。
   
 * `rollup_list`
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org