starocean999 commented on code in PR #49134:
URL: https://github.com/apache/doris/pull/49134#discussion_r2065321331


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -6644,6 +6647,55 @@ public LogicalPlan 
visitAlterColumnStats(DorisParser.AlterColumnStatsContext ctx
             properties);
     }
 
+    @Override
+    public LogicalPlan 
visitPauseRoutineLoad(DorisParser.PauseRoutineLoadContext ctx) {
+        List<String> parts = 
visitMultipartIdentifier(ctx.multipartIdentifier());

Review Comment:
   ```suggestion
   ```
           List<String> labelParts = visitMultipartIdentifier(ctx.label);
           String labelName;
           String labelDbName = null;
           if (labelParts.size() == 1) {
               labelName = labelParts.get(0);
           } else if (labelParts.size() == 2) {
               labelDbName = labelParts.get(0);
               labelName = labelParts.get(1);
           } else {
               throw new AnalysisException("labelParts in load should be 
[db.]label");
           }
           LabelNameInfo jobLabelInfo = new LabelNameInfo(labelDbName, 
labelName);
   ```
   ```



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