Skip to content

Commit

Permalink
[DNM](test) placement of Nereids only
Browse files Browse the repository at this point in the history
  • Loading branch information
morrySnow committed Aug 9, 2023
1 parent 0d75a54 commit a092e8a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,7 @@ public void execute(TUniqueId queryId) throws Exception {
// try to fall back to legacy planner
LOG.debug("nereids cannot process statement\n" + originStmt.originStmt
+ "\n because of " + e.getMessage(), e);
if (e instanceof NereidsException
&& !context.getSessionVariable().enableFallbackToOriginalPlanner) {
if (e instanceof NereidsException) {
LOG.warn("Analyze failed. {}", context.getQueryIdentifier(), e);
throw ((NereidsException) e).getException();
}
Expand Down

0 comments on commit a092e8a

Please sign in to comment.