This is an automated email from the ASF dual-hosted git repository.

starocean999 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 97444ee57c1 [fix](nereids) fix build WarmUpClusterCommand in 
LogicalPlanBuilder (#52259)
97444ee57c1 is described below

commit 97444ee57c1b20851f9c2b57b6ae8276f4ae7843
Author: yaoxiao <[email protected]>
AuthorDate: Wed Jun 25 17:22:36 2025 +0800

    [fix](nereids) fix build WarmUpClusterCommand in LogicalPlanBuilder (#52259)
---
 .../java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java
index 0c1335501aa..d013bad2a44 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java
@@ -7962,8 +7962,11 @@ public class LogicalPlanBuilder extends 
DorisParserBaseVisitor<Object> {
 
     @Override
     public LogicalPlan visitWarmUpCluster(DorisParser.WarmUpClusterContext 
ctx) {
-        String srcCluster = ctx.destination.getText();
-        String dstCluster = ctx.source.getText();
+        String dstCluster = ctx.destination.getText();
+        String srcCluster = null;
+        if (ctx.source != null) {
+            srcCluster = ctx.source.getText();
+        }
         boolean isWarmUpWithTable = false;
         List<WarmUpItem> warmUpItems = new ArrayList<>();
         if (ctx.warmUpItem() != null && !ctx.warmUpItem().isEmpty()) {


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

Reply via email to