Skip to content

Commit

Permalink
[fix](nereids)should set isForwardedToMaster and redirectStatus to nu…
Browse files Browse the repository at this point in the history
…ll before fallback to legacy planner (#44178)

pick from master #44163
  • Loading branch information
starocean999 authored Nov 27, 2024
1 parent 78556da commit 03b1971
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,8 @@ public void execute(TUniqueId queryId) throws Exception {
}
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
Expand Down

0 comments on commit 03b1971

Please sign in to comment.