This is an automated email from the ASF dual-hosted git repository.
jiafengzheng 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 65fed6a8a6 fix
65fed6a8a6 is described below
commit 65fed6a8a681d59cf9dcd67a4d0cb1ba0b4729a2
Author: jiafeng.zhang <[email protected]>
AuthorDate: Thu Jul 21 20:14:12 2022 +0800
fix
fix
---
.../sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md | 2 +-
.../sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/docs/sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md
b/docs/sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md
index 3ac7ba14ee..d108a4b879 100644
--- a/docs/sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md
+++ b/docs/sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md
@@ -50,7 +50,7 @@ SHOW STREAM LOAD
illustrate:
-1. The default is to not record Stream Load records. If you want to view the
records that need to be enabled on BE, `enable_stream_load_record=true`, you
need to restart BE here
+1. BE does not record Stream Load records. If you want to view the need to
re-enable the configuration `enable_stream_load_record=true`, you need to
restart BE here
1. If db_name is not specified, the current default db is used
2. If LABEL LIKE is used, it will match the tasks whose label of the Stream
Load task contains label_matcher
3. If LABEL = is used, it will match the specified label exactly
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md
index fd4fbff163..87da5910b3 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-reference/Show-Statements/SHOW-STREAM-LOAD.md
@@ -50,6 +50,7 @@ SHOW STREAM LOAD
说明:
+1. 默认 BE 是不记录 Stream Load 的记录,如果你要查看需要再 BE 上启用配置
`enable_stream_load_record=true`,这里需要重启BE
1. 如果不指定 db_name,使用当前默认db
2. 如果使用 LABEL LIKE,则会匹配Stream Load任务的 label 包含 label_matcher 的任务
3. 如果使用 LABEL = ,则精确匹配指定的 label
@@ -67,25 +68,25 @@ SHOW STREAM LOAD
```
2. 展示指定 db 的Stream Load任务,label 中包含字符串 "2014_01_02",展示最老的10个
-
+
```sql
SHOW STREAM LOAD FROM example_db WHERE LABEL LIKE "2014_01_02" LIMIT 10;
```
2. 展示指定 db 的Stream Load任务,指定 label 为 "load_example_db_20140102"
-
+
```sql
SHOW STREAM LOAD FROM example_db WHERE LABEL = "load_example_db_20140102";
```
2. 展示指定 db 的Stream Load任务,指定 status 为 "success", 并按 StartTime 降序排序
-
+
```sql
SHOW STREAM LOAD FROM example_db WHERE STATUS = "success" ORDER BY
StartTime DESC;
```
2. 展示指定 db 的导入任务 并按 StartTime 降序排序,并从偏移量5开始显示10条查询结果
-
+
```sql
SHOW STREAM LOAD FROM example_db ORDER BY StartTime DESC limit 5,10;
SHOW STREAM LOAD FROM example_db ORDER BY StartTime DESC limit 10 offset 5;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]