[fix](nereids)should set isForwardedToMaster and redirectStatus to null before fallback to legacy planner (#44332)

pick from master https://github.com/apache/doris/pull/44163
This commit is contained in:
starocean999
2024-11-21 10:25:35 +08:00
committed by GitHub
parent fb163b55c2
commit 3c1ac52f6a

View File

@ -597,6 +597,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