EmmyMiao87 commented on a change in pull request #6423:
URL: https://github.com/apache/incubator-doris/pull/6423#discussion_r694585277



##########
File path: docs/en/sql-reference/sql-statements/Data Manipulation/SHOW ROUTINE 
LOAD.md
##########
@@ -37,13 +37,11 @@ SHOW ROUTINE LOAD FOR test1;
 
 3. Display all routine import jobs (including stopped or cancelled jobs) under 
example_db. The result is one or more lines.
 
-use example_db;
-SHOW ALL ROUTINE LOAD;
+SHOW ALL ROUTINE LOAD FROM example_db;
 
 4. Display all running routine import jobs under example_db
 
-use example_db;
-SHOW ROUTINE LOAD;
+SHOW ROUTINE LOAD FROM example_db;
 

Review comment:
       Please add a example for without db name

##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/analysis/ShowRoutineLoadStmt.java
##########
@@ -36,8 +36,9 @@
   Show routine load progress by routine load name
 
   syntax:
-      SHOW [ALL] ROUTINE LOAD [database.][name]
-
+      SHOW [ALL] ROUTINE LOAD [FROM db_name]

Review comment:
       IN db_name

##########
File path: docs/en/sql-reference/sql-statements/Data Manipulation/SHOW ROUTINE 
LOAD.md
##########
@@ -37,13 +37,11 @@ SHOW ROUTINE LOAD FOR test1;
 
 3. Display all routine import jobs (including stopped or cancelled jobs) under 
example_db. The result is one or more lines.
 
-use example_db;
-SHOW ALL ROUTINE LOAD;
+SHOW ALL ROUTINE LOAD FROM example_db;

Review comment:
       It’s better to use the in keyword as an example. The from keyword has 
other meanings in some sentences.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to