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

kassiez 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 61342bb089d [doc](function) update doc about hll_union/hll_raw_agg 
(#2010)
61342bb089d is described below

commit 61342bb089ded85e148e360913b5f4ff0860d95f
Author: zhangstar333 <zhangs...@selectdb.com>
AuthorDate: Wed Apr 23 16:15:15 2025 +0800

    [doc](function) update doc about hll_union/hll_raw_agg (#2010)
    
    ## Versions
    
    - [x] dev
    - [x] 3.0
    - [x] 2.1
    - [ ] 2.0
    
    ## Languages
    
    - [x] Chinese
    - [x] English
    
    ## Docs Checklist
    
    - [ ] Checked by AI
    - [ ] Test Cases Built
---
 .../aggregate-functions/hll-raw-agg.md             | 41 +++++++++++++++++++++-
 .../aggregate-functions/hll-raw-agg.md             | 37 +++++++++++++++++++
 .../aggregate-functions/hll-raw-agg.md             | 41 ++++++++++++++++++++--
 .../aggregate-functions/hll-raw-agg.md             | 41 ++++++++++++++++++++--
 .../aggregate-functions/hll-raw-agg.md             | 41 +++++++++++++++++++++-
 .../aggregate-functions/hll-raw-agg.md             | 41 +++++++++++++++++++++-
 6 files changed, 233 insertions(+), 9 deletions(-)

diff --git a/docs/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md 
b/docs/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
index 54d76af4eae..f72acda1105 100644
--- a/docs/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
+++ b/docs/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
@@ -1,6 +1,6 @@
 ---
 {
-    "title": "hll_raw_agg",
+    "title": "HLL_RAW_AGG",
     "language": "en"
 }
 ---
@@ -23,3 +23,42 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+
+## Description
+
+The HLL_RAW_AGG function is an aggregate function, which is mainly used to 
merge multiple HyperLogLog data structures.
+
+## Alias
+
+- HLL_UNION
+
+## Syntax
+
+```sql
+HLL_RAW_AGG(<hll>)
+```
+
+## Parameters
+
+| Parameters | Description |
+| -- | -- |
+| `<hll>` | The HyperLogLog type expression to be calculated |
+
+## Return Value
+
+Returns the aggregated value of type HyperLogLog.
+
+## Example
+
+```sql
+select HLL_CARDINALITY(HLL_RAW_AGG(uv_set)) from test_uv;
+```
+
+```text
++------------------------------------------+
+|   HLL_CARDINALITY(HLL_RAW_AGG(`uv_set`)) |
++------------------------------------------+
+|                                    17721 |
++------------------------------------------+
+```
\ No newline at end of file
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
index edd685aef1e..b80de89e9df 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
@@ -21,3 +21,40 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+## 描述
+
+HLL_RAW_AGG 函数是一种聚合函数,主要用于将多个 HyperLogLog 数据结构合并成一个
+
+## 别名
+
+- HLL_UNION
+
+## 语法
+
+```sql
+HLL_RAW_AGG(<hll>)
+```
+
+## 参数
+
+| 参数 | 说明 |
+| -- | -- |
+| `<hll>` | 需要被计算HyperLogLog类型表达式 |
+
+## 返回值
+
+返回被聚合后的 HLL 类型。
+
+## 举例
+```sql
+select HLL_CARDINALITY(HLL_RAW_AGG(uv_set)) from test_uv;
+```
+
+```text
++------------------------------------------+
+|   HLL_CARDINALITY(HLL_RAW_AGG(`uv_set`)) |
++------------------------------------------+
+|                                    17721 |
++------------------------------------------+
+```
\ No newline at end of file
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
index e877ef4916b..b80de89e9df 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
@@ -1,6 +1,6 @@
 ---
 {
-    "title": "hll_raw_agg",
+    "title": "HLL_RAW_AGG",
     "language": "zh-CN"
 }
 ---
@@ -13,9 +13,7 @@ regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
-
   http://www.apache.org/licenses/LICENSE-2.0
-
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -23,3 +21,40 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+## 描述
+
+HLL_RAW_AGG 函数是一种聚合函数,主要用于将多个 HyperLogLog 数据结构合并成一个
+
+## 别名
+
+- HLL_UNION
+
+## 语法
+
+```sql
+HLL_RAW_AGG(<hll>)
+```
+
+## 参数
+
+| 参数 | 说明 |
+| -- | -- |
+| `<hll>` | 需要被计算HyperLogLog类型表达式 |
+
+## 返回值
+
+返回被聚合后的 HLL 类型。
+
+## 举例
+```sql
+select HLL_CARDINALITY(HLL_RAW_AGG(uv_set)) from test_uv;
+```
+
+```text
++------------------------------------------+
+|   HLL_CARDINALITY(HLL_RAW_AGG(`uv_set`)) |
++------------------------------------------+
+|                                    17721 |
++------------------------------------------+
+```
\ No newline at end of file
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
index e877ef4916b..b80de89e9df 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
@@ -1,6 +1,6 @@
 ---
 {
-    "title": "hll_raw_agg",
+    "title": "HLL_RAW_AGG",
     "language": "zh-CN"
 }
 ---
@@ -13,9 +13,7 @@ regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
-
   http://www.apache.org/licenses/LICENSE-2.0
-
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -23,3 +21,40 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+## 描述
+
+HLL_RAW_AGG 函数是一种聚合函数,主要用于将多个 HyperLogLog 数据结构合并成一个
+
+## 别名
+
+- HLL_UNION
+
+## 语法
+
+```sql
+HLL_RAW_AGG(<hll>)
+```
+
+## 参数
+
+| 参数 | 说明 |
+| -- | -- |
+| `<hll>` | 需要被计算HyperLogLog类型表达式 |
+
+## 返回值
+
+返回被聚合后的 HLL 类型。
+
+## 举例
+```sql
+select HLL_CARDINALITY(HLL_RAW_AGG(uv_set)) from test_uv;
+```
+
+```text
++------------------------------------------+
+|   HLL_CARDINALITY(HLL_RAW_AGG(`uv_set`)) |
++------------------------------------------+
+|                                    17721 |
++------------------------------------------+
+```
\ No newline at end of file
diff --git 
a/versioned_docs/version-2.1/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
 
b/versioned_docs/version-2.1/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
index 54d76af4eae..f72acda1105 100644
--- 
a/versioned_docs/version-2.1/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
+++ 
b/versioned_docs/version-2.1/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
@@ -1,6 +1,6 @@
 ---
 {
-    "title": "hll_raw_agg",
+    "title": "HLL_RAW_AGG",
     "language": "en"
 }
 ---
@@ -23,3 +23,42 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+
+## Description
+
+The HLL_RAW_AGG function is an aggregate function, which is mainly used to 
merge multiple HyperLogLog data structures.
+
+## Alias
+
+- HLL_UNION
+
+## Syntax
+
+```sql
+HLL_RAW_AGG(<hll>)
+```
+
+## Parameters
+
+| Parameters | Description |
+| -- | -- |
+| `<hll>` | The HyperLogLog type expression to be calculated |
+
+## Return Value
+
+Returns the aggregated value of type HyperLogLog.
+
+## Example
+
+```sql
+select HLL_CARDINALITY(HLL_RAW_AGG(uv_set)) from test_uv;
+```
+
+```text
++------------------------------------------+
+|   HLL_CARDINALITY(HLL_RAW_AGG(`uv_set`)) |
++------------------------------------------+
+|                                    17721 |
++------------------------------------------+
+```
\ No newline at end of file
diff --git 
a/versioned_docs/version-3.0/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
 
b/versioned_docs/version-3.0/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
index 54d76af4eae..f72acda1105 100644
--- 
a/versioned_docs/version-3.0/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
+++ 
b/versioned_docs/version-3.0/sql-manual/sql-functions/aggregate-functions/hll-raw-agg.md
@@ -1,6 +1,6 @@
 ---
 {
-    "title": "hll_raw_agg",
+    "title": "HLL_RAW_AGG",
     "language": "en"
 }
 ---
@@ -23,3 +23,42 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
+
+
+## Description
+
+The HLL_RAW_AGG function is an aggregate function, which is mainly used to 
merge multiple HyperLogLog data structures.
+
+## Alias
+
+- HLL_UNION
+
+## Syntax
+
+```sql
+HLL_RAW_AGG(<hll>)
+```
+
+## Parameters
+
+| Parameters | Description |
+| -- | -- |
+| `<hll>` | The HyperLogLog type expression to be calculated |
+
+## Return Value
+
+Returns the aggregated value of type HyperLogLog.
+
+## Example
+
+```sql
+select HLL_CARDINALITY(HLL_RAW_AGG(uv_set)) from test_uv;
+```
+
+```text
++------------------------------------------+
+|   HLL_CARDINALITY(HLL_RAW_AGG(`uv_set`)) |
++------------------------------------------+
+|                                    17721 |
++------------------------------------------+
+```
\ No newline at end of file


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

Reply via email to