[enhancement](Nereids) remove redundant log when fall back to legacy parser (#13243)

This commit is contained in:
Kikyou1997
2022-10-11 10:53:07 +08:00
committed by GitHub
parent 6ee150755a
commit b5da751c2a

View File

@ -266,8 +266,8 @@ public class ConnectProcessor {
} catch (Exception e) {
nereidsParseException = e;
// TODO: We should catch all exception here until we support all query syntax.
LOG.warn(" Fallback to stale planner."
+ " Nereids cannot process this statement: \"{}\".", originStmt, e);
LOG.info(" Fallback to stale planner."
+ " Nereids cannot process this statement: \"{}\".", originStmt.toString());
}
}
// stmts == null when Nereids cannot planner this query or Nereids is disabled.