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

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


The following commit(s) were added to refs/heads/master by this push:
     new a55b12d  [Doc] Fix some flaws in hll-type document  (#5795)
a55b12d is described below

commit a55b12da90ac40188a62819d565417269b6251d8
Author: xy720 <[email protected]>
AuthorDate: Wed May 26 09:56:55 2021 +0800

    [Doc] Fix some flaws in hll-type document  (#5795)
    
    Fix some flaws in hll-type document.
---
 docs/en/sql-reference/sql-statements/Data Definition/HLL.md    | 4 ++--
 docs/zh-CN/sql-reference/sql-statements/Data Definition/HLL.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/sql-reference/sql-statements/Data Definition/HLL.md 
b/docs/en/sql-reference/sql-statements/Data Definition/HLL.md
index 4499b88..a3f9286 100644
--- a/docs/en/sql-reference/sql-statements/Data Definition/HLL.md       
+++ b/docs/en/sql-reference/sql-statements/Data Definition/HLL.md       
@@ -82,7 +82,7 @@ B. Create another table dedicated to computing uv, and insert 
data)
 create table test_uv(
 dt date,
 uv_set hll hll_union)
-distributed by hash(id) buckets 32;
+distributed by hash(dt) buckets 32;
 
 insert into test_uv select dt, set1 from test;
 
@@ -91,7 +91,7 @@ C. Create another table dedicated to computing uv, then 
insert and generate HLL
 create table test_uv(
 dt date,
 id_set hll hll_union)
-distributed by hash(id) buckets 32;
+distributed by hash(dt) buckets 32;
 
 insert into test_uv select dt, hll_hash(id) from test;
 
diff --git a/docs/zh-CN/sql-reference/sql-statements/Data Definition/HLL.md 
b/docs/zh-CN/sql-reference/sql-statements/Data Definition/HLL.md
index 1d3f65b..599e087 100644
--- a/docs/zh-CN/sql-reference/sql-statements/Data Definition/HLL.md    
+++ b/docs/zh-CN/sql-reference/sql-statements/Data Definition/HLL.md    
@@ -79,7 +79,7 @@ under the License.
         create table test_uv(
         dt date,
         uv_set hll hll_union)
-        distributed by hash(id) buckets 32;
+        distributed by hash(dt) buckets 32;
 
         insert into test_uv select dt, set1 from test;
         
@@ -88,7 +88,7 @@ under the License.
         create table test_uv(
         dt date,
         id_set hll hll_union)
-        distributed by hash(id) buckets 32;
+        distributed by hash(dt) buckets 32;
         
         insert into test_uv select dt, hll_hash(id) from test;
             

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

Reply via email to