This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
new 6a7ccfdcca [fix](union)the union node should not pass through children
in some case (#15314)
6a7ccfdcca is described below
commit 6a7ccfdcca12b2bf37e2b873484f626333caaab6
Author: starocean999 <[email protected]>
AuthorDate: Fri Dec 23 16:43:45 2022 +0800
[fix](union)the union node should not pass through children in some case
(#15314)
---
.../src/main/java/org/apache/doris/planner/SetOperationNode.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/SetOperationNode.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/SetOperationNode.java
index a16ef960a1..a3e3fc9792 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/SetOperationNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/SetOperationNode.java
@@ -269,8 +269,12 @@ public abstract class SetOperationNode extends PlanNode {
}
for (int i = 0; i < setOpResultExprs_.size(); ++i) {
- if (!setOpTupleDescriptor.getSlots().get(i).isMaterialized())
+ if (!setOpTupleDescriptor.getSlots().get(i).isMaterialized()) {
+ if (VectorizedUtil.isVectorized() &&
childTupleDescriptor.getSlots().get(i).isMaterialized()) {
+ return false;
+ }
continue;
+ }
SlotRef setOpSlotRef =
setOpResultExprs_.get(i).unwrapSlotRef(false);
SlotRef childSlotRef = childExprList.get(i).unwrapSlotRef(false);
Preconditions.checkNotNull(setOpSlotRef);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]