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

zykkk 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 dd54c462e71 [typo](doc)delete error doc (#25624)
dd54c462e71 is described below

commit dd54c462e717087a736f296aacfe8461b9468e3f
Author: ZhenchaoXu <[email protected]>
AuthorDate: Thu Oct 19 15:16:26 2023 +0800

    [typo](doc)delete error doc (#25624)
---
 .../sql-functions/string-functions/char.md         | 69 ----------------------
 docs/sidebars.json                                 |  1 -
 .../sql-functions/string-functions/char.md         | 69 ----------------------
 3 files changed, 139 deletions(-)

diff --git a/docs/en/docs/sql-manual/sql-functions/string-functions/char.md 
b/docs/en/docs/sql-manual/sql-functions/string-functions/char.md
deleted file mode 100644
index 71e574077cb..00000000000
--- a/docs/en/docs/sql-manual/sql-functions/string-functions/char.md
+++ /dev/null
@@ -1,69 +0,0 @@
----
-{
-    "title": "char",
-    "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.
--->
-
-<version since="1.2">
-
-## function char
-### description
-#### Syntax
-
-`VARCHAR char(INT,..., [USING charset_name])`
-
-Interprets each argument as an integer and returns a string consisting of the 
characters given by the code values of those integers. `NULL` values are 
skipped.
-
-If the result string is illegal for the given character set, the result from 
`CHAR()` becomes `NULL`.
-
-Arguments larger than `255` are converted into multiple result bytes. For 
example, `char(15049882)` is equivalent to `char(229, 164, 154)`.
-
-Currently only `utf8` is supported for `charset_name`.
-</version>
-
-### example
-
-```
-mysql> select char(68, 111, 114, 105, 115);
-+--------------------------------------+
-| char('utf8', 68, 111, 114, 105, 115) |
-+--------------------------------------+
-| Doris                                |
-+--------------------------------------+
-
-mysql> select char(15049882, 15179199, 14989469);
-+--------------------------------------------+
-| char('utf8', 15049882, 15179199, 14989469) |
-+--------------------------------------------+
-| 多睿丝                                     |
-+--------------------------------------------+
-
-mysql> select char(255);
-+-------------------+
-| char('utf8', 255) |
-+-------------------+
-| NULL              |
-+-------------------+
-```
-### keywords
-    CHAR
diff --git a/docs/sidebars.json b/docs/sidebars.json
index 9b7068d649e..2cf79010dbd 100644
--- a/docs/sidebars.json
+++ b/docs/sidebars.json
@@ -421,7 +421,6 @@
                                 
"sql-manual/sql-functions/string-functions/initcap",
                                 
"sql-manual/sql-functions/string-functions/repeat",
                                 
"sql-manual/sql-functions/string-functions/reverse",
-                                
"sql-manual/sql-functions/string-functions/char",
                                 
"sql-manual/sql-functions/string-functions/concat",
                                 
"sql-manual/sql-functions/string-functions/concat_ws",
                                 
"sql-manual/sql-functions/string-functions/substr",
diff --git a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/char.md 
b/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/char.md
deleted file mode 100644
index e3d57f3fd31..00000000000
--- a/docs/zh-CN/docs/sql-manual/sql-functions/string-functions/char.md
+++ /dev/null
@@ -1,69 +0,0 @@
----
-{
-    "title": "char",
-    "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.
--->
-
-<version since="1.2">
-
-## function char
-### description
-#### Syntax
-
-`VARCHAR char(INT,..., [USING charset_name])`
-
-将每个参数解释为整数,并返回一个字符串,该字符串由这些整数的代码值给出的字符组成。忽略`NULL`值。
-
-如果结果字符串对于给定字符集是非法的,相应的转换结果为`NULL`值。
-
-大于 `255` 的参数将转换为多个结果字节。例如,`char(15049882)`等价于`char(229, 164, 154)`。
-
-`charset_name`目前只支持`utf8`。
-</version>
-
-### example
-
-```
-mysql> select char(68, 111, 114, 105, 115);
-+--------------------------------------+
-| char('utf8', 68, 111, 114, 105, 115) |
-+--------------------------------------+
-| Doris                                |
-+--------------------------------------+
-
-mysql> select char(15049882, 15179199, 14989469);
-+--------------------------------------------+
-| char('utf8', 15049882, 15179199, 14989469) |
-+--------------------------------------------+
-| 多睿丝                                     |
-+--------------------------------------------+
-
-mysql> select char(255);
-+-------------------+
-| char('utf8', 255) |
-+-------------------+
-| NULL              |
-+-------------------+
-```
-### keywords
-    CHAR


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to