This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new fb40bcf267a [Fix](point query) insert/update/delete statment should not go short circuit path (#25429) fb40bcf267a is described below commit fb40bcf267a82d9dd78b98c666b1303f6ab8c6a3 Author: lihangyu <15605149...@163.com> AuthorDate: Sat Oct 14 00:45:36 2023 +0800 [Fix](point query) insert/update/delete statment should not go short circuit path (#25429) --- fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java index f19e513f8e2..970d6261737 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java +++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/SelectStmt.java @@ -2622,6 +2622,10 @@ public class SelectStmt extends QueryStmt { if (tbl.getTable().getType() != Table.TableType.OLAP) { return false; } + // ignore insert into select + if (fromInsert) { + return false; + } // ensure no sub query if (!analyzer.isRootAnalyzer()) { return false; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org