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 (#44332)

pick from master #44163
  • Loading branch information
starocean999 authored Nov 21, 2024
1 parent fb163b5 commit 3c1ac52
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,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 3c1ac52

Please sign in to comment.