mymeiyi commented on code in PR #31666:
URL: https://github.com/apache/doris/pull/31666#discussion_r1512457513


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/parser/LogicalPlanBuilder.java:
##########
@@ -531,7 +531,8 @@ public LogicalPlan visitInsertTable(InsertTableContext ctx) 
{
         if (isOverwrite) {
             command = new InsertOverwriteTableCommand(sink, labelName);
         } else {
-            if (ConnectContext.get() != null && 
ConnectContext.get().isTxnModel()) {
+            if (ConnectContext.get() != null && 
ConnectContext.get().isTxnModel()
+                    && sink.child() instanceof LogicalInlineTable) {

Review Comment:
   The nereids does not support `insert into t select  1`? It fallback to legacy



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to