Skip to content

Commit

Permalink
test-no-costbased
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Dec 26, 2024
1 parent c2bc34a commit 0535a37
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public class Rewriter extends AbstractBatchJobExecutor {
bottomUp(new MergeSetOperations(), new MergeSetOperationsExcept()),
bottomUp(new PushProjectIntoOneRowRelation()),
topDown(new MergeOneRowRelationIntoUnion()),
costBased(topDown(new InferSetOperatorDistinct())),
topDown(new InferSetOperatorDistinct()),
topDown(new BuildAggForUnion()),
bottomUp(new EliminateEmptyRelation()),
// when union has empty relation child and constantExprsList is not empty,
Expand Down Expand Up @@ -355,12 +355,12 @@ public class Rewriter extends AbstractBatchJobExecutor {
),

topic("Eager aggregation",
costBased(topDown(
topDown(
new PushDownAggWithDistinctThroughJoinOneSide(),
new PushDownAggThroughJoinOneSide(),
new PushDownAggThroughJoin()
)),
costBased(custom(RuleType.PUSH_DOWN_DISTINCT_THROUGH_JOIN, PushDownDistinctThroughJoin::new)),
),
custom(RuleType.PUSH_DOWN_DISTINCT_THROUGH_JOIN, PushDownDistinctThroughJoin::new),
topDown(new PushCountIntoUnionAll())
),

Expand Down

0 comments on commit 0535a37

Please sign in to comment.