[opt](nereids)expr normalize after filter pushdown (#28743)

normalize expression after filter push down
This commit is contained in:
minghong
2023-12-27 11:37:36 +08:00
committed by GitHub
parent 576a2b33cb
commit 8e358617c7
24 changed files with 40 additions and 38 deletions

View File

@ -222,6 +222,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(),