This is an automated email from the ASF dual-hosted git repository.
luzhijing 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 d9cfc026f3 [doc] delete the description of array_agg on version 2.0
(#766)
d9cfc026f3 is described below
commit d9cfc026f394ef619d5455a7666b23f4a4e473c0
Author: lishiqi_amy <[email protected]>
AuthorDate: Fri Jun 21 16:49:38 2024 +0800
[doc] delete the description of array_agg on version 2.0 (#766)
---
.../sql-functions/aggregate-functions/array-agg.md | 84 ----------------------
.../sql-functions/aggregate-functions/array-agg.md | 84 ----------------------
versioned_sidebars/version-2.0-sidebars.json | 1 -
3 files changed, 169 deletions(-)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/aggregate-functions/array-agg.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/aggregate-functions/array-agg.md
deleted file mode 100644
index 34549ab059..0000000000
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/aggregate-functions/array-agg.md
+++ /dev/null
@@ -1,84 +0,0 @@
----
-{
- "title": "ARRAY_AGG",
- "language": "zh-CN"
-}
----
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-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
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-## ARRAY_AGG
-
-### description
-
-#### Syntax
-
-`ARRAY_AGG(col)`
-
-将一列中的值(包括空值 null)串联成一个数组,可以用于多行转一行(行转列)。
-
-### notice
-
-- 数组中元素不保证顺序。
-- 返回转换生成的数组。数组中的元素类型与 `col` 类型一致。
-
-### example
-
-```sql
-mysql> select * from test_doris_array_agg;
-
-+------+------+
-
-| c1 | c2 |
-
-+------+------+
-
-| 1 | a |
-
-| 1 | b |
-
-| 2 | c |
-
-| 2 | NULL |
-
-| 3 | NULL |
-
-+------+------+
-
-mysql> select c1, array_agg(c2) from test_doris_array_agg group by c1;
-
-+------+-----------------+
-
-| c1 | array_agg(`c2`) |
-
-+------+-----------------+
-
-| 1 | ["a","b"] |
-
-| 2 | [NULL,"c"] |
-
-| 3 | [NULL] |
-
-+------+-----------------+
-```
-
-### keywords
-
-ARRAY_AGG
diff --git
a/versioned_docs/version-2.0/sql-manual/sql-functions/aggregate-functions/array-agg.md
b/versioned_docs/version-2.0/sql-manual/sql-functions/aggregate-functions/array-agg.md
deleted file mode 100644
index de61da2862..0000000000
---
a/versioned_docs/version-2.0/sql-manual/sql-functions/aggregate-functions/array-agg.md
+++ /dev/null
@@ -1,84 +0,0 @@
----
-{
- "title": "ARRAY_AGG",
- "language": "en"
-}
----
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-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
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-## ARRAY_AGG
-
-### description
-
-#### Syntax
-
-`ARRAY_AGG(col)`
-
-Concatenation of values in a column (including the null value) into an array
can be used for multiple rows to one row (row to column).
-
-### notice
-
-- The order of the elements in an array is not guaranteed.
-- Returns the array generated by the transformation. The element type in the
array is the same as the col type.
-
-### example
-
-```sql
-mysql> select * from test_doris_array_agg;
-
-+------+------+
-
-| c1 | c2 |
-
-+------+------+
-
-| 1 | a |
-
-| 1 | b |
-
-| 2 | c |
-
-| 2 | NULL |
-
-| 3 | NULL |
-
-+------+------+
-
-mysql> select c1, array_agg(c2) from test_doris_array_agg group by c1;
-
-+------+-----------------+
-
-| c1 | array_agg(`c2`) |
-
-+------+-----------------+
-
-| 1 | ["a","b"] |
-
-| 2 | [NULL,"c"] |
-
-| 3 | [NULL] |
-
-+------+-----------------+
-```
-
-### keywords
-
-ARRAY_AGG
diff --git a/versioned_sidebars/version-2.0-sidebars.json
b/versioned_sidebars/version-2.0-sidebars.json
index 8130d8bcac..88ed5acd0c 100644
--- a/versioned_sidebars/version-2.0-sidebars.json
+++ b/versioned_sidebars/version-2.0-sidebars.json
@@ -817,7 +817,6 @@
"sql-manual/sql-functions/aggregate-functions/grouping-id",
"sql-manual/sql-functions/aggregate-functions/count-by-enum",
"sql-manual/sql-functions/aggregate-functions/histogram",
-
"sql-manual/sql-functions/aggregate-functions/array-agg",
"sql-manual/sql-functions/aggregate-functions/map-agg",
"sql-manual/sql-functions/aggregate-functions/bitmap_agg"
]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]