[fix](Nereids): find hash condition after infer predicate (#30026)
This commit is contained in:
@ -226,7 +226,7 @@ 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)
|
||||
// after push down, some new filters are generated, which needs to be optimized. (example: tpch q19)
|
||||
topDown(new ExpressionOptimization()),
|
||||
topDown(
|
||||
new MergeFilters(),
|
||||
@ -263,6 +263,7 @@ public class Rewriter extends AbstractBatchJobExecutor {
|
||||
// after eliminate outer join, we can move some filters to join.otherJoinConjuncts,
|
||||
// this can help to translate plan to backend
|
||||
topDown(new PushFilterInsideJoin()),
|
||||
topDown(new FindHashConditionForJoin()),
|
||||
topDown(new ExpressionNormalization())
|
||||
),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user