yx-keith commented on code in PR #52570:
URL: https://github.com/apache/doris/pull/52570#discussion_r2176420081


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -8007,10 +8007,7 @@ public UserDesc 
visitGrantUserIdentify(DorisParser.GrantUserIdentifyContext ctx)
     @Override
     public LogicalPlan visitWarmUpCluster(DorisParser.WarmUpClusterContext 
ctx) {
         String dstCluster = ctx.destination.getText();
-        String srcCluster = null;
-        if (ctx.source != null) {
-            srcCluster = ctx.source.getText();
-        }
+        String srcCluster = ctx.source.getText();

Review Comment:
   这个是我用来测试会不会报错的



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to