Skip to content

Commit

Permalink
[BugFix] Fix force cte consumer push down limit error
Browse files Browse the repository at this point in the history
Signed-off-by: Seaven <[email protected]>
  • Loading branch information
Seaven committed Feb 17, 2025
1 parent b005b50 commit 9e3545e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public class PushDownLimitDirectRule extends TransformationRule {

public PushDownLimitDirectRule() {
super(RuleType.TF_PUSH_DOWN_LIMIT, Pattern.create(OperatorType.LOGICAL_LIMIT)
.addChildren(MultiOpPattern.of(SUPPORTED_OPERATOR)));
.addChildren(MultiOpPattern.of(SUPPORTED_OPERATOR)
.addChildren(Pattern.create(OperatorType.PATTERN_LEAF))));
}

@Override
Expand Down

0 comments on commit 9e3545e

Please sign in to comment.