This is an automated email from the ASF dual-hosted git repository.
lihaopeng 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 6efe38120cb [fix](function) remove function sleep and fix array_split
function title (#993)
6efe38120cb is described below
commit 6efe38120cbef4a72c34f74e82959df99064d5dc
Author: zclllhhjj <[email protected]>
AuthorDate: Tue Aug 13 11:40:19 2024 +0800
[fix](function) remove function sleep and fix array_split function title
(#993)
1. function sleep should only appear in dev/debug-functions. remove them
from all other version docs
2. fix array-split title
---
.../sql-functions/array-functions/array-split.md | 2 +-
.../sql-functions/array-functions/array-split.md | 2 +-
.../sql-functions/string-functions/sleep.md | 48 ----------------------
.../sql-functions/string-functions/sleep.md | 48 ----------------------
.../sql-functions/string-functions/sleep.md | 48 ----------------------
.../sql-functions/array-functions/array-split.md | 2 +-
.../sql-functions/string-functions/sleep.md | 48 ----------------------
.../sql-functions/string-functions/sleep.md | 48 ----------------------
.../sql-functions/string-functions/sleep.md | 48 ----------------------
.../sql-functions/string-functions/sleep.md | 48 ----------------------
.../sql-functions/array-functions/array-split.md | 2 +-
.../sql-functions/string-functions/sleep.md | 48 ----------------------
versioned_sidebars/version-1.2-sidebars.json | 1 -
versioned_sidebars/version-2.0-sidebars.json | 1 -
versioned_sidebars/version-2.1-sidebars.json | 1 -
versioned_sidebars/version-3.0-sidebars.json | 1 -
16 files changed, 4 insertions(+), 392 deletions(-)
diff --git a/docs/sql-manual/sql-functions/array-functions/array-split.md
b/docs/sql-manual/sql-functions/array-functions/array-split.md
index 094a2de8e24..3ae2dbe62ae 100644
--- a/docs/sql-manual/sql-functions/array-functions/array-split.md
+++ b/docs/sql-manual/sql-functions/array-functions/array-split.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
under the License.
-->
-## array_sortby
+## array_split
array_split
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/array-functions/array-split.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/array-functions/array-split.md
index aa771a709fd..71c41dfe726 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/array-functions/array-split.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/array-functions/array-split.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
under the License.
-->
-## array_sortby
+## array_split
array_split
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2/sql-manual/sql-functions/string-functions/sleep.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2/sql-manual/sql-functions/string-functions/sleep.md
deleted file mode 100644
index 3a3e6280fac..00000000000
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2/sql-manual/sql-functions/string-functions/sleep.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "sleep",
- "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.
--->
-
-## sleep
-### description
-#### Syntax
-
-`BOOLEAN sleep(INT num)`
-
-使该线程休眠num秒。
-
-### example
-
-```
-mysql> select sleep(10);
-+-----------+
-| sleep(10) |
-+-----------+
-| 1 |
-+-----------+
-1 row in set (10.01 sec)
-
-```
-### keywords
- sleep
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/string-functions/sleep.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/string-functions/sleep.md
deleted file mode 100644
index 1e277869756..00000000000
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/sql-manual/sql-functions/string-functions/sleep.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "SLEEP",
- "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.
--->
-
-## sleep
-### description
-#### Syntax
-
-`BOOLEAN sleep(INT num)`
-
-使该线程休眠num秒。
-
-### example
-
-```
-mysql> select sleep(10);
-+-----------+
-| sleep(10) |
-+-----------+
-| 1 |
-+-----------+
-1 row in set (10.01 sec)
-
-```
-### keywords
- sleep
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/string-functions/sleep.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/string-functions/sleep.md
deleted file mode 100644
index 1e277869756..00000000000
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/string-functions/sleep.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "SLEEP",
- "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.
--->
-
-## sleep
-### description
-#### Syntax
-
-`BOOLEAN sleep(INT num)`
-
-使该线程休眠num秒。
-
-### example
-
-```
-mysql> select sleep(10);
-+-----------+
-| sleep(10) |
-+-----------+
-| 1 |
-+-----------+
-1 row in set (10.01 sec)
-
-```
-### keywords
- sleep
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/array-functions/array-split.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/array-functions/array-split.md
index aa771a709fd..71c41dfe726 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/array-functions/array-split.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/array-functions/array-split.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
under the License.
-->
-## array_sortby
+## array_split
array_split
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/string-functions/sleep.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/string-functions/sleep.md
deleted file mode 100644
index 1e277869756..00000000000
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/string-functions/sleep.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "SLEEP",
- "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.
--->
-
-## sleep
-### description
-#### Syntax
-
-`BOOLEAN sleep(INT num)`
-
-使该线程休眠num秒。
-
-### example
-
-```
-mysql> select sleep(10);
-+-----------+
-| sleep(10) |
-+-----------+
-| 1 |
-+-----------+
-1 row in set (10.01 sec)
-
-```
-### keywords
- sleep
diff --git
a/versioned_docs/version-1.2/sql-manual/sql-functions/string-functions/sleep.md
b/versioned_docs/version-1.2/sql-manual/sql-functions/string-functions/sleep.md
deleted file mode 100644
index 4c02d502f2c..00000000000
---
a/versioned_docs/version-1.2/sql-manual/sql-functions/string-functions/sleep.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "sleep",
- "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.
--->
-
-## sleep
-### Description
-#### Syntax
-
-`BOOLEAN sleep(INT num)`
-
-Make the thread sleep for num seconds.
-
-### example
-
-```
-mysql> select sleep(10);
-+-----------+
-| sleep(10) |
-+-----------+
-| 1 |
-+-----------+
-1 row in set (10.01 sec)
-
-```
-### keywords
- sleep
diff --git
a/versioned_docs/version-2.0/sql-manual/sql-functions/string-functions/sleep.md
b/versioned_docs/version-2.0/sql-manual/sql-functions/string-functions/sleep.md
deleted file mode 100644
index 4aa6b16beb8..00000000000
---
a/versioned_docs/version-2.0/sql-manual/sql-functions/string-functions/sleep.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "SLEEP",
- "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.
--->
-
-## sleep
-### Description
-#### Syntax
-
-`BOOLEAN sleep(INT num)`
-
-Make the thread sleep for num seconds.
-
-### example
-
-```
-mysql> select sleep(10);
-+-----------+
-| sleep(10) |
-+-----------+
-| 1 |
-+-----------+
-1 row in set (10.01 sec)
-
-```
-### keywords
- sleep
diff --git
a/versioned_docs/version-2.1/sql-manual/sql-functions/string-functions/sleep.md
b/versioned_docs/version-2.1/sql-manual/sql-functions/string-functions/sleep.md
deleted file mode 100644
index 4aa6b16beb8..00000000000
---
a/versioned_docs/version-2.1/sql-manual/sql-functions/string-functions/sleep.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "SLEEP",
- "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.
--->
-
-## sleep
-### Description
-#### Syntax
-
-`BOOLEAN sleep(INT num)`
-
-Make the thread sleep for num seconds.
-
-### example
-
-```
-mysql> select sleep(10);
-+-----------+
-| sleep(10) |
-+-----------+
-| 1 |
-+-----------+
-1 row in set (10.01 sec)
-
-```
-### keywords
- sleep
diff --git
a/versioned_docs/version-3.0/sql-manual/sql-functions/array-functions/array-split.md
b/versioned_docs/version-3.0/sql-manual/sql-functions/array-functions/array-split.md
index 094a2de8e24..3ae2dbe62ae 100644
---
a/versioned_docs/version-3.0/sql-manual/sql-functions/array-functions/array-split.md
+++
b/versioned_docs/version-3.0/sql-manual/sql-functions/array-functions/array-split.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
under the License.
-->
-## array_sortby
+## array_split
array_split
diff --git
a/versioned_docs/version-3.0/sql-manual/sql-functions/string-functions/sleep.md
b/versioned_docs/version-3.0/sql-manual/sql-functions/string-functions/sleep.md
deleted file mode 100644
index 4aa6b16beb8..00000000000
---
a/versioned_docs/version-3.0/sql-manual/sql-functions/string-functions/sleep.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-{
- "title": "SLEEP",
- "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.
--->
-
-## sleep
-### Description
-#### Syntax
-
-`BOOLEAN sleep(INT num)`
-
-Make the thread sleep for num seconds.
-
-### example
-
-```
-mysql> select sleep(10);
-+-----------+
-| sleep(10) |
-+-----------+
-| 1 |
-+-----------+
-1 row in set (10.01 sec)
-
-```
-### keywords
- sleep
diff --git a/versioned_sidebars/version-1.2-sidebars.json
b/versioned_sidebars/version-1.2-sidebars.json
index e1f6e2d864b..f597e5005ba 100644
--- a/versioned_sidebars/version-1.2-sidebars.json
+++ b/versioned_sidebars/version-1.2-sidebars.json
@@ -432,7 +432,6 @@
"sql-manual/sql-functions/string-functions/extract_url_parameter",
"sql-manual/sql-functions/string-functions/uuid",
"sql-manual/sql-functions/string-functions/space",
-
"sql-manual/sql-functions/string-functions/sleep",
"sql-manual/sql-functions/string-functions/esquery",
"sql-manual/sql-functions/string-functions/mask/mask",
"sql-manual/sql-functions/string-functions/mask/mask_first_n",
diff --git a/versioned_sidebars/version-2.0-sidebars.json
b/versioned_sidebars/version-2.0-sidebars.json
index 3fdd0e6c7d9..a69405953cc 100644
--- a/versioned_sidebars/version-2.0-sidebars.json
+++ b/versioned_sidebars/version-2.0-sidebars.json
@@ -687,7 +687,6 @@
"sql-manual/sql-functions/string-functions/extract-url-parameter",
"sql-manual/sql-functions/string-functions/uuid",
"sql-manual/sql-functions/string-functions/space",
-
"sql-manual/sql-functions/string-functions/sleep",
"sql-manual/sql-functions/string-functions/esquery",
{
"type": "category",
diff --git a/versioned_sidebars/version-2.1-sidebars.json
b/versioned_sidebars/version-2.1-sidebars.json
index 38db4597185..0295f0f6610 100644
--- a/versioned_sidebars/version-2.1-sidebars.json
+++ b/versioned_sidebars/version-2.1-sidebars.json
@@ -732,7 +732,6 @@
"sql-manual/sql-functions/string-functions/extract-url-parameter",
"sql-manual/sql-functions/string-functions/uuid",
"sql-manual/sql-functions/string-functions/space",
-
"sql-manual/sql-functions/string-functions/sleep",
"sql-manual/sql-functions/string-functions/esquery",
"sql-manual/sql-functions/string-functions/random_bytes",
{
diff --git a/versioned_sidebars/version-3.0-sidebars.json
b/versioned_sidebars/version-3.0-sidebars.json
index 7a95f732bed..ad6bbfc73e3 100644
--- a/versioned_sidebars/version-3.0-sidebars.json
+++ b/versioned_sidebars/version-3.0-sidebars.json
@@ -760,7 +760,6 @@
"sql-manual/sql-functions/string-functions/extract-url-parameter",
"sql-manual/sql-functions/string-functions/uuid",
"sql-manual/sql-functions/string-functions/space",
-
"sql-manual/sql-functions/string-functions/sleep",
"sql-manual/sql-functions/string-functions/esquery",
"sql-manual/sql-functions/string-functions/random_bytes",
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]