Skip to content

Commit 0535a37

Browse files
committed
test-no-costbased
1 parent c2bc34a commit 0535a37

File tree

1 file changed

+4
-4
lines changed
  • fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor

1 file changed

+4
-4
lines changed

fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public class Rewriter extends AbstractBatchJobExecutor {
315315
bottomUp(new MergeSetOperations(), new MergeSetOperationsExcept()),
316316
bottomUp(new PushProjectIntoOneRowRelation()),
317317
topDown(new MergeOneRowRelationIntoUnion()),
318-
costBased(topDown(new InferSetOperatorDistinct())),
318+
topDown(new InferSetOperatorDistinct()),
319319
topDown(new BuildAggForUnion()),
320320
bottomUp(new EliminateEmptyRelation()),
321321
// when union has empty relation child and constantExprsList is not empty,
@@ -355,12 +355,12 @@ public class Rewriter extends AbstractBatchJobExecutor {
355355
),
356356

357357
topic("Eager aggregation",
358-
costBased(topDown(
358+
topDown(
359359
new PushDownAggWithDistinctThroughJoinOneSide(),
360360
new PushDownAggThroughJoinOneSide(),
361361
new PushDownAggThroughJoin()
362-
)),
363-
costBased(custom(RuleType.PUSH_DOWN_DISTINCT_THROUGH_JOIN, PushDownDistinctThroughJoin::new)),
362+
),
363+
custom(RuleType.PUSH_DOWN_DISTINCT_THROUGH_JOIN, PushDownDistinctThroughJoin::new),
364364
topDown(new PushCountIntoUnionAll())
365365
),
366366

0 commit comments

Comments
 (0)