This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch tpch500 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 96a01f5f88fd161b946b3636ace441d5658b922b Author: morningman <morning...@163.com> AuthorDate: Fri Dec 22 21:28:27 2023 +0800 [tmp] [opt](nereids)expr normalize after filter pushdown --- .../src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java | 2 ++ 1 file changed, 2 insertions(+) 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 0ded7767172..239428c37b4 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 @@ -218,6 +218,8 @@ public class Rewriter extends AbstractBatchJobExecutor { // but top-down traverse can not cover this case in one iteration, so bottom-up is more // efficient because it can find the new plans and apply transform wherever it is bottomUp(RuleSet.PUSH_DOWN_FILTERS), + //after push down, some new filters are generated, which needs to be optimized. (example: tpch q19) + topDown(new ExpressionOptimization()), topDown( new MergeFilters(), new ReorderJoin(), --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org