This is an automated email from the ASF dual-hosted git repository.
dataroaring 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 dc5e0b350c6 [fix](group commit) prepare command should consider table
may be recreated (#46900)
dc5e0b350c6 is described below
commit dc5e0b350c6874a473fd492bcf197525e0f1a806
Author: meiyi <[email protected]>
AuthorDate: Mon Jan 13 21:22:14 2025 +0800
[fix](group commit) prepare command should consider table may be recreated
(#46900)
---
.../src/main/java/org/apache/doris/planner/GroupCommitPlanner.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/GroupCommitPlanner.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/GroupCommitPlanner.java
index 82f7864fd3c..0f8f7d53a28 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/GroupCommitPlanner.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/GroupCommitPlanner.java
@@ -222,6 +222,7 @@ public class GroupCommitPlanner {
boolean reuse = false;
GroupCommitPlanner groupCommitPlanner;
if (preparedStmtCtx.groupCommitPlanner.isPresent()
+ && table.getId() ==
preparedStmtCtx.groupCommitPlanner.get().table.getId()
&& table.getBaseSchemaVersion() ==
preparedStmtCtx.groupCommitPlanner.get().baseSchemaVersion) {
groupCommitPlanner = preparedStmtCtx.groupCommitPlanner.get();
reuse = true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]