This is an automated email from the ASF dual-hosted git repository. morrysnow pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push: new 7bee5585fcb [fix](Nereids) column pruning do not do well (#34782) 7bee5585fcb is described below commit 7bee5585fcb5e9390a874bda658b4e46012ced69 Author: morrySnow <101034200+morrys...@users.noreply.github.com> AuthorDate: Mon May 20 15:17:20 2024 +0800 [fix](Nereids) column pruning do not do well (#34782) --- .../main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java index 56b313faf8c..8c378102811 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java @@ -304,7 +304,10 @@ public class Rewriter extends AbstractBatchJobExecutor { bottomUp(new MergeSetOperations(), new MergeSetOperationsExcept()), bottomUp(new PushProjectIntoOneRowRelation()), topDown(new MergeOneRowRelationIntoUnion()), - topDown(new BuildAggForUnion()) + topDown(new BuildAggForUnion()), + custom(RuleType.COLUMN_PRUNING, ColumnPruning::new), + bottomUp(RuleSet.PUSH_DOWN_FILTERS), + custom(RuleType.ELIMINATE_UNNECESSARY_PROJECT, EliminateUnnecessaryProject::new) ), // topic("Distinct", --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org