Class PushLimitThroughOuterJoin

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

public class PushLimitThroughOuterJoin extends Object implements Rule<LimitNode>
Transforms:
 - Limit
    - Join
       - left source
       - right source
 
Into:
 - Limit
    - Join
       - Limit (present if Join is left or outer)
          - left source
       - Limit (present if Join is right or outer)
          - right source
 
Applies to LimitNode without ties only to avoid optimizer loop.