This is an automated email from the ASF dual-hosted git repository.
zykkk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 498c0124e8 [typo](doc)modify some sql syntax and example description
errors (#22460)
498c0124e8 is described below
commit 498c0124e8548de1d975f28b29fd4eb582a75531
Author: ZhenchaoXu <[email protected]>
AuthorDate: Wed Aug 2 21:27:34 2023 +0800
[typo](doc)modify some sql syntax and example description errors (#22460)
---
.../sql-manual/sql-functions/date-time-functions/curtime.md | 10 +++++-----
.../sql-functions/array-functions/array_last_index.md | 2 +-
.../sql-manual/sql-functions/date-time-functions/curtime.md | 10 +++++-----
.../Data-Definition-Statements/Create/CREATE-SQL-BLOCK-RULE.md | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git
a/docs/en/docs/sql-manual/sql-functions/date-time-functions/curtime.md
b/docs/en/docs/sql-manual/sql-functions/date-time-functions/curtime.md
index 4b4668d656..929354da05 100644
--- a/docs/en/docs/sql-manual/sql-functions/date-time-functions/curtime.md
+++ b/docs/en/docs/sql-manual/sql-functions/date-time-functions/curtime.md
@@ -36,11 +36,11 @@ Get the current date and return it in Time type
```
mysql> select current_time();
-+----------------+
-| current_time() |
-+----------------+
-| 15:25:47 |
-+----------------+
++---------------------+
+| current_time() |
++---------------------+
+| 2023-08-01 17:32:24 |
++---------------------+
```
### keywords
diff --git
a/docs/zh-CN/docs/sql-manual/sql-functions/array-functions/array_last_index.md
b/docs/zh-CN/docs/sql-manual/sql-functions/array-functions/array_last_index.md
index 2c15f67ad9..c79d1c8d46 100644
---
a/docs/zh-CN/docs/sql-manual/sql-functions/array-functions/array_last_index.md
+++
b/docs/zh-CN/docs/sql-manual/sql-functions/array-functions/array_last_index.md
@@ -54,7 +54,7 @@ mysql> select array_last_index(x->x+1>3, [2, 3, 4]);
+-------------------------------------------------------------------+
| array_last_index(array_map([x] -> x(0) + 1 > 3, ARRAY(2, 3, 4))) |
+-------------------------------------------------------------------+
-| 2 |
+| 3 |
+-------------------------------------------------------------------+
mysql> select array_last_index(x -> x is null, [null, 1, 2]);
diff --git
a/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/curtime.md
b/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/curtime.md
index acefa1eac3..6e7c5b5247 100644
--- a/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/curtime.md
+++ b/docs/zh-CN/docs/sql-manual/sql-functions/date-time-functions/curtime.md
@@ -38,11 +38,11 @@ under the License.
```
mysql> select current_time();
-+----------------+
-| current_time() |
-+----------------+
-| 15:25:47 |
-+----------------+
++---------------------+
+| current_time() |
++---------------------+
+| 2023-08-01 17:32:24 |
++---------------------+
```
### keywords
diff --git
a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-SQL-BLOCK-RULE.md
b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-SQL-BLOCK-RULE.md
index a64ae4ff89..4c15fb86f0 100644
---
a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-SQL-BLOCK-RULE.md
+++
b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Create/CREATE-SQL-BLOCK-RULE.md
@@ -64,7 +64,7 @@ CREATE SQL_BLOCK_RULE rule_name
```sql
CREATE SQL_BLOCK_RULE test_rule
PROPERTIES(
- "sql"="select \\* from order_analysis;",
+ "sql"="select \\* from order_analysis",
"global"="false",
"enable"="true"
);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]