This is an automated email from the ASF dual-hosted git repository. lihaopeng pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push: new 6f9e9398895 [typo](doc)Delete array_zip docs in 1.2 (#29709) 6f9e9398895 is described below commit 6f9e9398895e5cdba92a6492e24b3f517083f131 Author: ZhenchaoXu <49646212+i...@users.noreply.github.com> AuthorDate: Tue Jan 9 14:43:46 2024 +0800 [typo](doc)Delete array_zip docs in 1.2 (#29709) --- .../sql-functions/array-functions/array_zip.md | 63 ---------------------- docs/sidebars.json | 1 - .../sql-functions/array-functions/array_zip.md | 63 ---------------------- 3 files changed, 127 deletions(-) diff --git a/docs/en/docs/sql-manual/sql-functions/array-functions/array_zip.md b/docs/en/docs/sql-manual/sql-functions/array-functions/array_zip.md deleted file mode 100644 index bd5519763f9..00000000000 --- a/docs/en/docs/sql-manual/sql-functions/array-functions/array_zip.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -{ - "title": "array_zip", - "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_zip - -<version since="1.2.3"> - -array_zip - -</version> - -### description - -Combines all all arrays into a single array. The resulting array contains the corresponding elements of the source arrays grouped into structs in the listed order of arguments. - -#### Syntax - -`Array<Struct<T1, T2,...>> array_zip(Array<T1>, Array<T2>, ...)` - -#### Returned value - -Array with elements from the source arrays grouped into tuples. Data types in the tuple are the same as types of the input arrays and in the same order as arrays are passed. - -### notice - -`Only supported in vectorized engine` - -### example - -``` -mysql> select array_zip(['a', 'b', 'c'], [1, 2, 3]); -+-------------------------------------------------+ -| array_zip(ARRAY('a', 'b', 'c'), ARRAY(1, 2, 3)) | -+-------------------------------------------------+ -| [{'a', 1}, {'b', 2}, {'c', 3}] | -+-------------------------------------------------+ -1 row in set (0.01 sec) -``` - -### keywords - -ARRAY,ZIP,ARRAY_ZIP \ No newline at end of file diff --git a/docs/sidebars.json b/docs/sidebars.json index 92a7c592b4b..4d732099344 100644 --- a/docs/sidebars.json +++ b/docs/sidebars.json @@ -298,7 +298,6 @@ "sql-manual/sql-functions/array-functions/array_pushfront", "sql-manual/sql-functions/array-functions/array_compact", "sql-manual/sql-functions/array-functions/array_concat", - "sql-manual/sql-functions/array-functions/array_zip", "sql-manual/sql-functions/array-functions/array_shuffle", "sql-manual/sql-functions/array-functions/array_cum_sum", "sql-manual/sql-functions/array-functions/array_exists", diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/array-functions/array_zip.md b/docs/zh-CN/docs/sql-manual/sql-functions/array-functions/array_zip.md deleted file mode 100644 index 6a3e0f6565f..00000000000 --- a/docs/zh-CN/docs/sql-manual/sql-functions/array-functions/array_zip.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -{ - "title": "array_zip", - "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_zip - -<version since="1.2.3"> - -array_zip - -</version> - -### description - -将所有数组合并成一个单一的数组。结果数组包含源数组中按参数列表顺序分组的相应元素。 - -#### Syntax - -`Array<Struct<T1, T2,...>> array_zip(Array<T1>, Array<T2>, ...)` - -#### Returned value - -将来自源数组的元素分组成结构体的数组。结构体中的数据类型与输入数组的类型相同,并按照传递数组的顺序排列。 - -### notice - -`仅支持向量化引擎中使用` - -### example - -``` -mysql> select array_zip(['a', 'b', 'c'], [1, 2, 3]); -+-------------------------------------------------+ -| array_zip(ARRAY('a', 'b', 'c'), ARRAY(1, 2, 3)) | -+-------------------------------------------------+ -| [{'a', 1}, {'b', 2}, {'c', 3}] | -+-------------------------------------------------+ -1 row in set (0.01 sec) -``` - -### keywords - -ARRAY,ZIP,ARRAY_ZIP \ 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