This is an automated email from the ASF dual-hosted git repository.
morrysnow 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 3c3a028913b [fix](nereids)should prune logicalSink's child node in
ColumnPruning (#41289)
3c3a028913b is described below
commit 3c3a028913b7ee1662cab23f20461ed7254c06f2
Author: starocean999 <[email protected]>
AuthorDate: Fri Sep 27 19:12:29 2024 +0800
[fix](nereids)should prune logicalSink's child node in ColumnPruning
(#41289)
---
.../main/java/org/apache/doris/nereids/rules/rewrite/ColumnPruning.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/ColumnPruning.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/ColumnPruning.java
index 20a91ca5657..d480c203f29 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/ColumnPruning.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/ColumnPruning.java
@@ -217,7 +217,7 @@ public class ColumnPruning extends
DefaultPlanRewriter<PruneContext> implements
@Override
public Plan visitLogicalSink(LogicalSink<? extends Plan> logicalSink,
PruneContext context) {
- return skipPruneThisAndFirstLevelChildren(logicalSink);
+ return pruneChildren(logicalSink, logicalSink.getOutputSet());
}
// the backend not support filter(project(agg)), so we can not prune the
key set in the agg,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]