This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 78ba446487 [Enhancement](Nereids) add more clear message when parse
failed (#16056)
78ba446487 is described below
commit 78ba446487be302189b2884fa6584ca31d34d4f7
Author: mch_ucchi <[email protected]>
AuthorDate: Wed Jan 18 22:19:46 2023 +0800
[Enhancement](Nereids) add more clear message when parse failed (#16056)
---
fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java
index a083eb10b9..94df56a66c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/ConnectProcessor.java
@@ -313,7 +313,7 @@ public class ConnectProcessor {
&& ctx.getSessionVariable().isEnableNereidsPlanner()
&&
!ctx.getSessionVariable().enableFallbackToOriginalPlanner) {
Exception exception = new Exception(
- String.format("Nereids cannot parse the SQL, and
fallback disabled.\n\n%s",
+ String.format("Nereids cannot parse the SQL, and
fallback disabled. caused by: \n\n%s",
nereidsParseException.getMessage()),
nereidsParseException);
// audit it and break
handleQueryException(exception, auditStmt, null, null);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]