Class PushLimitThroughOffset

java.lang.Object
io.trino.sql.planner.iterative.rule.PushLimitThroughOffset
All Implemented Interfaces:
Rule<LimitNode>

public class PushLimitThroughOffset extends Object implements Rule<LimitNode>
Transforms:
 - Limit (row count x)
    - Offset (row count y)
 
Into:
 - Offset (row count y)
    - Limit (row count x+y)
 
Applies to both limit with ties and limit without ties.