Skip to content

Commit 6c7c7fa

Browse files
committed
delete AdjustTopNProject.java
1 parent 4cc75da commit 6c7c7fa

File tree

2 files changed

+1
-58
lines changed

2 files changed

+1
-58
lines changed

fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/AdjustTopNProject.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public class AdjustTopNProject extends OneRewriteRuleFactory {
5656

5757
@Override
5858
public Rule build() {
59-
return logicalTopN(logicalProject(logicalAggregate()))
59+
return logicalTopN(logicalProject())
6060
.then(topN -> adjust(topN)).toRule(RuleType.ADJUST_TOPN_PROJECT);
6161
}
6262

fe/fe-core/src/test/java/org/apache/doris/nereids/rules/rewrite/AdjustTopNProjectTest.java

-57
This file was deleted.

0 commit comments

Comments
 (0)