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 f22e11e9b66 [fix] add missing quote function docs (#923)
f22e11e9b66 is described below
commit f22e11e9b66e81e961b9cc0cfc2d124e6f401c43
Author: zclllhhjj <[email protected]>
AuthorDate: Wed Jul 31 22:22:01 2024 +0800
[fix] add missing quote function docs (#923)
---
.../sql-manual/sql-functions/string-functions/quote.md | 10 ++++++----
.../current/sql-manual/sql-functions/string-functions/quote.md | 4 ++--
.../sql-manual/sql-functions/string-functions/quote.md | 4 ++--
.../sql-manual/sql-functions/string-functions/quote.md | 4 ++--
sidebars.json | 1 +
.../sql-manual/sql-functions/string-functions/quote.md | 10 ++++++----
.../sql-manual/sql-functions/string-functions/quote.md | 10 ++++++----
versioned_sidebars/version-2.1-sidebars.json | 1 +
versioned_sidebars/version-3.0-sidebars.json | 1 +
9 files changed, 27 insertions(+), 18 deletions(-)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
b/docs/sql-manual/sql-functions/string-functions/quote.md
similarity index 91%
copy from
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
copy to docs/sql-manual/sql-functions/string-functions/quote.md
index 9d9d1194de1..6d8ef6e8eab 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
+++ b/docs/sql-manual/sql-functions/string-functions/quote.md
@@ -1,7 +1,7 @@
---
{
"title": "QUOTE",
- "language": "zh-CN"
+ "language": "en"
}
---
@@ -13,7 +13,9 @@ 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
@@ -28,12 +30,11 @@ under the License.
`VARCHAR quote(VARCHAR str)`
-
-将参数中所有的字符串按原样输出,并用''套起来
+Output all the strings in the argument as is and wrap them with ''
### example
-```
+```sql
mysql> select quote('hello world!\\t');
+-------------------------+
| quote('hello world!\t') |
@@ -41,5 +42,6 @@ mysql> select quote('hello world!\\t');
| 'hello world!\t' |
+-------------------------+
```
+
### keywords
QUOTE
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
index 9d9d1194de1..4b309990751 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
@@ -28,12 +28,11 @@ under the License.
`VARCHAR quote(VARCHAR str)`
-
将参数中所有的字符串按原样输出,并用''套起来
### example
-```
+```sql
mysql> select quote('hello world!\\t');
+-------------------------+
| quote('hello world!\t') |
@@ -41,5 +40,6 @@ mysql> select quote('hello world!\\t');
| 'hello world!\t' |
+-------------------------+
```
+
### keywords
QUOTE
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/string-functions/quote.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/string-functions/quote.md
index 9d9d1194de1..4b309990751 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/string-functions/quote.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/string-functions/quote.md
@@ -28,12 +28,11 @@ under the License.
`VARCHAR quote(VARCHAR str)`
-
将参数中所有的字符串按原样输出,并用''套起来
### example
-```
+```sql
mysql> select quote('hello world!\\t');
+-------------------------+
| quote('hello world!\t') |
@@ -41,5 +40,6 @@ mysql> select quote('hello world!\\t');
| 'hello world!\t' |
+-------------------------+
```
+
### keywords
QUOTE
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/string-functions/quote.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/string-functions/quote.md
index 9d9d1194de1..4b309990751 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/string-functions/quote.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/string-functions/quote.md
@@ -28,12 +28,11 @@ under the License.
`VARCHAR quote(VARCHAR str)`
-
将参数中所有的字符串按原样输出,并用''套起来
### example
-```
+```sql
mysql> select quote('hello world!\\t');
+-------------------------+
| quote('hello world!\t') |
@@ -41,5 +40,6 @@ mysql> select quote('hello world!\\t');
| 'hello world!\t' |
+-------------------------+
```
+
### keywords
QUOTE
\ No newline at end of file
diff --git a/sidebars.json b/sidebars.json
index f953c428298..c5c9a9a3f46 100644
--- a/sidebars.json
+++ b/sidebars.json
@@ -814,6 +814,7 @@
"sql-manual/sql-functions/string-functions/substring-index",
"sql-manual/sql-functions/string-functions/money-format",
"sql-manual/sql-functions/string-functions/parse-url",
+
"sql-manual/sql-functions/string-functions/quote",
"sql-manual/sql-functions/string-functions/url-decode",
"sql-manual/sql-functions/string-functions/convert-to",
"sql-manual/sql-functions/string-functions/extract-url-parameter",
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
b/versioned_docs/version-2.1/sql-manual/sql-functions/string-functions/quote.md
similarity index 91%
copy from
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
copy to
versioned_docs/version-2.1/sql-manual/sql-functions/string-functions/quote.md
index 9d9d1194de1..6d8ef6e8eab 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
+++
b/versioned_docs/version-2.1/sql-manual/sql-functions/string-functions/quote.md
@@ -1,7 +1,7 @@
---
{
"title": "QUOTE",
- "language": "zh-CN"
+ "language": "en"
}
---
@@ -13,7 +13,9 @@ 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
@@ -28,12 +30,11 @@ under the License.
`VARCHAR quote(VARCHAR str)`
-
-将参数中所有的字符串按原样输出,并用''套起来
+Output all the strings in the argument as is and wrap them with ''
### example
-```
+```sql
mysql> select quote('hello world!\\t');
+-------------------------+
| quote('hello world!\t') |
@@ -41,5 +42,6 @@ mysql> select quote('hello world!\\t');
| 'hello world!\t' |
+-------------------------+
```
+
### keywords
QUOTE
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
b/versioned_docs/version-3.0/sql-manual/sql-functions/string-functions/quote.md
similarity index 91%
copy from
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
copy to
versioned_docs/version-3.0/sql-manual/sql-functions/string-functions/quote.md
index 9d9d1194de1..6d8ef6e8eab 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/string-functions/quote.md
+++
b/versioned_docs/version-3.0/sql-manual/sql-functions/string-functions/quote.md
@@ -1,7 +1,7 @@
---
{
"title": "QUOTE",
- "language": "zh-CN"
+ "language": "en"
}
---
@@ -13,7 +13,9 @@ 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
@@ -28,12 +30,11 @@ under the License.
`VARCHAR quote(VARCHAR str)`
-
-将参数中所有的字符串按原样输出,并用''套起来
+Output all the strings in the argument as is and wrap them with ''
### example
-```
+```sql
mysql> select quote('hello world!\\t');
+-------------------------+
| quote('hello world!\t') |
@@ -41,5 +42,6 @@ mysql> select quote('hello world!\\t');
| 'hello world!\t' |
+-------------------------+
```
+
### keywords
QUOTE
\ No newline at end of file
diff --git a/versioned_sidebars/version-2.1-sidebars.json
b/versioned_sidebars/version-2.1-sidebars.json
index f9cbb22a673..b435f9be99b 100644
--- a/versioned_sidebars/version-2.1-sidebars.json
+++ b/versioned_sidebars/version-2.1-sidebars.json
@@ -772,6 +772,7 @@
"sql-manual/sql-functions/string-functions/substring-index",
"sql-manual/sql-functions/string-functions/money-format",
"sql-manual/sql-functions/string-functions/parse-url",
+
"sql-manual/sql-functions/string-functions/quote",
"sql-manual/sql-functions/string-functions/url-decode",
"sql-manual/sql-functions/string-functions/convert-to",
"sql-manual/sql-functions/string-functions/extract-url-parameter",
diff --git a/versioned_sidebars/version-3.0-sidebars.json
b/versioned_sidebars/version-3.0-sidebars.json
index b93beb4cfdb..d728b5cbbe8 100644
--- a/versioned_sidebars/version-3.0-sidebars.json
+++ b/versioned_sidebars/version-3.0-sidebars.json
@@ -800,6 +800,7 @@
"sql-manual/sql-functions/string-functions/substring-index",
"sql-manual/sql-functions/string-functions/money-format",
"sql-manual/sql-functions/string-functions/parse-url",
+
"sql-manual/sql-functions/string-functions/quote",
"sql-manual/sql-functions/string-functions/url-decode",
"sql-manual/sql-functions/string-functions/convert-to",
"sql-manual/sql-functions/string-functions/extract-url-parameter",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]