You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/08/18 08:22:51 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #6423: [Feature]support show routine load from db_name

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



##########
File path: fe/fe-core/src/main/java/org/apache/doris/analysis/ShowRoutineLoadStmt.java
##########
@@ -116,11 +121,15 @@ public void analyze(Analyzer analyzer) throws UserException {
     }
 
     private void checkLabelName(Analyzer analyzer) throws AnalysisException {
-        String dbName = labelName == null ? null : labelName.getDbName();
         if (Strings.isNullOrEmpty(dbName)) {

Review comment:
       This is little complicated, please at unit test for this.




-- 
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-unsubscribe@doris.apache.org

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



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