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

pick from master #44163
  • Loading branch information
starocean999 authored Nov 21, 2024
1 parent cab615f commit f7dda9e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,8 @@ public void execute(TUniqueId queryId) throws Exception {
LOG.debug("fall back to legacy planner on statement:\n{}", originStmt.originStmt);
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 f7dda9e

Please sign in to comment.