We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0535a37 commit 32c6c6aCopy full SHA for 32c6c6a
fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java
@@ -315,7 +315,7 @@ public class Rewriter extends AbstractBatchJobExecutor {
315
bottomUp(new MergeSetOperations(), new MergeSetOperationsExcept()),
316
bottomUp(new PushProjectIntoOneRowRelation()),
317
topDown(new MergeOneRowRelationIntoUnion()),
318
- topDown(new InferSetOperatorDistinct()),
+ costBased(topDown(new InferSetOperatorDistinct())),
319
topDown(new BuildAggForUnion()),
320
bottomUp(new EliminateEmptyRelation()),
321
// when union has empty relation child and constantExprsList is not empty,
0 commit comments