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

panxiaolei pushed a commit to branch fix_0208
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/fix_0208 by this push:
     new a2126fc56b3 adjust doc of array flatten
a2126fc56b3 is described below

commit a2126fc56b3f0de06ef17d6e7c888fe105f5ac75
Author: BiteTheDDDDt <x...@selectdb.com>
AuthorDate: Sat Feb 8 20:19:29 2025 +0800

    adjust doc of array flatten
---
 .../array-functions/array-flatten.md               | 26 ++++++++++++----------
 .../array-functions/array-flatten.md               | 22 +++++++++---------
 2 files changed, 26 insertions(+), 22 deletions(-)

diff --git 
a/docs/sql-manual/sql-functions/scalar-functions/array-functions/array-flatten.md
 
b/docs/sql-manual/sql-functions/scalar-functions/array-functions/array-flatten.md
index 1d29c2c2a05..35c33899226 100644
--- 
a/docs/sql-manual/sql-functions/scalar-functions/array-functions/array-flatten.md
+++ 
b/docs/sql-manual/sql-functions/scalar-functions/array-functions/array-flatten.md
@@ -24,21 +24,27 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## array_flatten
+## description
 
-array_flatten
-
-### description
+Flatten a multidimensional array into one dimension.
 
-#### Syntax
+## Syntax
 
 ```sql
-ARRAY<T> array_flatten(ARRAY<ARRAY<T>> array1)
+array_flatten(<a>)
 ```
 
-Flatten a multidimensional array into one dimension.
+## Parameters
+
+| Parameter | Description | 
+| --- | --- |
+| `<a>` | ARRAY array |
 
-### example
+## Return Value
+
+Returns the flattened array
+
+## example
 
 ```sql
 mysql> select array_flatten([[1,2,3],[4,5]]);
@@ -57,7 +63,3 @@ mysql> select 
array_flatten([[[[[[1,2,3,4,5],[6,7],[8,9],[10,11],[12]],[[13]]],[
 
+-------------------------------------------------------------------------------+
 1 row in set (0.02 sec)
 ```
-
-### keywords
-
-ARRAY,ARRAY_FLATTEN
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/array-functions/array-flatten.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/array-functions/array-flatten.md
index 71df5283691..b36cfbfc853 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/array-functions/array-flatten.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/array-functions/array-flatten.md
@@ -24,19 +24,25 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## array_flatten
-
-array_flatten
-
 ## 描述
 
+将多维数组展平成一维。
+
 ## 语法
 
 ```sql
-ARRAY<T> array_flatten(ARRAY<ARRAY<T>> array1)
+array_flatten(<a>)
 ```
 
-将多维数组展平成一维。
+## 参数
+
+| 参数 | 说明 |
+| -- | -- |
+| `<a>` | 需要被展平的数组|
+
+## 返回值
+
+被展平的结果。
 
 ## 举例
 
@@ -57,7 +63,3 @@ mysql> select 
array_flatten([[[[[[1,2,3,4,5],[6,7],[8,9],[10,11],[12]],[[13]]],[
 
+-------------------------------------------------------------------------------+
 1 row in set (0.02 sec)
 ```
-
-### keywords
-
-ARRAY,ARRAY_FLATTEN


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

Reply via email to