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-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