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 67a3ff7964b [chore](Nereids) forbid some commands fallback when parse failed (#35197) 67a3ff7964b is described below commit 67a3ff7964b01efea2f63ec351a8828c988515d2 Author: morrySnow <101034200+morrys...@users.noreply.github.com> AuthorDate: Thu May 23 10:41:39 2024 +0800 [chore](Nereids) forbid some commands fallback when parse failed (#35197) 1. CreateTableLikeCommand 2. CreateViewCommand 3. AlterViewCommand --- .../src/main/java/org/apache/doris/qe/ConnectProcessor.java | 8 +++++++- 1 file changed, 7 insertions(+), 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 00f8428e1b2..703830cba00 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 @@ -17,8 +17,11 @@ package org.apache.doris.qe; +import org.apache.doris.analysis.AlterViewStmt; import org.apache.doris.analysis.CreateTableAsSelectStmt; +import org.apache.doris.analysis.CreateTableLikeStmt; import org.apache.doris.analysis.CreateTableStmt; +import org.apache.doris.analysis.CreateViewStmt; import org.apache.doris.analysis.DeleteStmt; import org.apache.doris.analysis.ExplainOptions; import org.apache.doris.analysis.InsertStmt; @@ -316,7 +319,10 @@ public abstract class ConnectProcessor { || s instanceof UpdateStmt || s instanceof DeleteStmt || s instanceof CreateTableAsSelectStmt - || s instanceof CreateTableStmt)) { + || s instanceof CreateTableStmt + || s instanceof CreateTableLikeStmt + || s instanceof CreateViewStmt + || s instanceof AlterViewStmt)) { String errMsg; Throwable exception = null; if (nereidsParseException != null) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org