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

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 12e4ff2  [Doc] Fix doc for 'SHOW EXPORT' (#5840)
12e4ff2 is described below

commit 12e4ff268994946cc3519f8f1b167c5cea7b6337
Author: zh0122 <[email protected]>
AuthorDate: Wed May 19 09:31:57 2021 +0800

    [Doc] Fix doc for 'SHOW EXPORT' (#5840)
---
 .../sql-reference/sql-statements/Data Manipulation/SHOW EXPORT.md   | 4 ++--
 .../sql-reference/sql-statements/Data Manipulation/SHOW EXPORT.md   | 6 +++---
 .../src/main/java/org/apache/doris/analysis/ShowExportStmt.java     | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/en/sql-reference/sql-statements/Data Manipulation/SHOW 
EXPORT.md b/docs/en/sql-reference/sql-statements/Data Manipulation/SHOW 
EXPORT.md
index 09165e0..0df0431 100644
--- a/docs/en/sql-reference/sql-statements/Data Manipulation/SHOW EXPORT.md     
+++ b/docs/en/sql-reference/sql-statements/Data Manipulation/SHOW EXPORT.md     
@@ -32,7 +32,7 @@ SHOW EXPORT
 [FROM both names]
 [
 WHERE
-[EXPORT_JOB_ID = your_job_id]
+[ID = your_job_id]
 [STATE = ["PENDING"|"EXPORTING"|"FINISHED"|"CANCELLED"]]
 ]
 [ORDER BY ...]
@@ -55,7 +55,7 @@ SHOW EXPORT FROM example_db ORDER BY StartTime DESC;
 SHOW EXPORT FROM example_db WHERE STATE = "exporting" ORDER BY StartTime DESC;
 
 4. Show the export task of specifying dB and job_id
-SHOW EXPORT FROM example_db WHERE EXPORT_JOB_ID = job_id;
+SHOW EXPORT FROM example_db WHERE ID = job_id;
 
 ## keyword
 SHOW,EXPORT
diff --git a/docs/zh-CN/sql-reference/sql-statements/Data Manipulation/SHOW 
EXPORT.md b/docs/zh-CN/sql-reference/sql-statements/Data Manipulation/SHOW 
EXPORT.md
index f699d8a..91d9238 100644
--- a/docs/zh-CN/sql-reference/sql-statements/Data Manipulation/SHOW EXPORT.md  
+++ b/docs/zh-CN/sql-reference/sql-statements/Data Manipulation/SHOW EXPORT.md  
@@ -32,7 +32,7 @@ under the License.
         [FROM db_name]
         [
             WHERE
-            [EXPORT_JOB_ID = your_job_id]
+            [ID = your_job_id]
             [STATE = ["PENDING"|"EXPORTING"|"FINISHED"|"CANCELLED"]]
         ]
         [ORDER BY ...]
@@ -55,8 +55,8 @@ under the License.
         SHOW EXPORT FROM example_db WHERE STATE = "exporting" ORDER BY 
StartTime DESC;
     
     4. 展示指定db,指定job_id的导出任务
-            SHOW EXPORT FROM example_db WHERE EXPORT_JOB_ID = job_id;
+            SHOW EXPORT FROM example_db WHERE ID = job_id;
 
 ## keyword
     SHOW,EXPORT
-    
+
diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowExportStmt.java 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowExportStmt.java
index 49bde00..a2fd26e 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowExportStmt.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/ShowExportStmt.java
@@ -194,7 +194,7 @@ public class ShowExportStmt extends ShowStmt {
 
         if (!valid) {
             throw new AnalysisException("Where clause should looks like below: 
"
-                    + " job_id = $your_job_id, or STATE = 
\"PENDING|EXPORTING|FINISHED|CANCELLED\"");
+                    + " ID = $your_job_id, or STATE = 
\"PENDING|EXPORTING|FINISHED|CANCELLED\"");
         }
     }
 

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

Reply via email to