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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 03b197189ac [fix](nereids)should set isForwardedToMaster and 
redirectStatus to null before fallback to legacy planner (#44178)
03b197189ac is described below

commit 03b197189acc1357f6f0cc856de231bf73a65ead
Author: starocean999 <[email protected]>
AuthorDate: Wed Nov 27 11:16:56 2024 +0800

    [fix](nereids)should set isForwardedToMaster and redirectStatus to null 
before fallback to legacy planner (#44178)
    
    pick from master https://github.com/apache/doris/pull/44163
---
 fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java 
b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
index 5b413ac9f01..3469350af2d 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
@@ -624,6 +624,8 @@ public class StmtExecutor {
                 }
                 parsedStmt = null;
                 planner = null;
+                isForwardedToMaster = null;
+                redirectStatus = null;
                 // Attention: currently exception from nereids does not mean 
an Exception to user terminal
                 // unless user does not allow fallback to lagency planner. But 
state of query
                 // has already been set to Error in this case, it will have 
some side effect on profile result


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

Reply via email to