This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 3a6a2b68127 branch-3.0 [fix](nereids) fix bug in LogicalIntersect
datatrait OutofBounds exception (#52170)
3a6a2b68127 is described below
commit 3a6a2b681276a7bce657709f3339c860f329296a
Author: minghong <[email protected]>
AuthorDate: Mon Jul 7 14:38:02 2025 +0800
branch-3.0 [fix](nereids) fix bug in LogicalIntersect datatrait OutofBounds
exception (#52170)
pick part of #49947
---
.../apache/doris/nereids/trees/plans/logical/LogicalIntersect.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalIntersect.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalIntersect.java
index 06f0f7d0ce6..610a40ac96a 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalIntersect.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalIntersect.java
@@ -107,9 +107,7 @@ public class LogicalIntersect extends LogicalSetOperation {
Map<Slot, Slot> constructReplaceMap() {
Map<Slot, Slot> replaceMap = new HashMap<>();
for (int i = 0; i < children.size(); i++) {
- List<? extends Slot> originOutputs =
this.regularChildrenOutputs.size() == children.size()
- ? child(i).getOutput()
- : regularChildrenOutputs.get(i);
+ List<? extends Slot> originOutputs = regularChildrenOutputs.get(i);
for (int j = 0; j < originOutputs.size(); j++) {
replaceMap.put(originOutputs.get(j), getOutput().get(j));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]