Class RemoveRedundantLimit

  • All Implemented Interfaces:
    Rule<LimitNode>

    public class RemoveRedundantLimit
    extends Object
    implements Rule<LimitNode>
    Remove Limit node when the subplan is guaranteed to produce fewer rows than the limit and replace the plan with empty values if the limit count is 0.