Skip to content

Commit

Permalink
add logicalAggregate() back
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Dec 26, 2024
1 parent b774d35 commit c2bc34a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class AdjustTopNProject extends OneRewriteRuleFactory {

@Override
public Rule build() {
return logicalTopN(logicalProject())
return logicalTopN(logicalProject(logicalAggregate()))
.then(topN -> adjust(topN)).toRule(RuleType.ADJUST_TOPN_PROJECT);
}

Expand Down

0 comments on commit c2bc34a

Please sign in to comment.