This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 879fff58b5f branch-4.0: [fix](insert) fix insert failed when
concurrent schema change #60182 (#60244)
879fff58b5f is described below
commit 879fff58b5f979341dab91cc861c389f7a009e62
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jan 27 08:02:36 2026 +0800
branch-4.0: [fix](insert) fix insert failed when concurrent schema change
#60182 (#60244)
Cherry-picked from #60182
Co-authored-by: 924060929 <[email protected]>
---
.../trees/plans/commands/insert/InsertIntoTableCommand.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertIntoTableCommand.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertIntoTableCommand.java
index 3ac25f371ae..399d4970f5b 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertIntoTableCommand.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/insert/InsertIntoTableCommand.java
@@ -345,12 +345,13 @@ public class InsertIntoTableCommand extends Command
implements NeedAuditEncrypti
}
OlapGroupCommitInsertExecutor.analyzeGroupCommit(
ctx, targetTableIf, this.logicalQuery.get(),
this.insertCtx);
+
+ LogicalPlanAdapter logicalPlanAdapter
+ = new LogicalPlanAdapter(logicalQuery.get(),
ctx.getStatementContext());
+ return planInsertExecutor(ctx, stmtExecutor, logicalPlanAdapter,
targetTableIf);
} finally {
targetTableIf.readUnlock();
}
-
- LogicalPlanAdapter logicalPlanAdapter = new
LogicalPlanAdapter(logicalQuery.get(), ctx.getStatementContext());
- return planInsertExecutor(ctx, stmtExecutor, logicalPlanAdapter,
targetTableIf);
}
// we should select the factory type first, but we can not initial
InsertExecutor at this time,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]