yx-keith commented on code in PR #52570:
URL: https://github.com/apache/doris/pull/52570#discussion_r2176421075
##########
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:
我在warm up回归测试里边加了 source为null的case ,理论上这里删除null check会报错,这个pr用来验证一下
--
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]