presto-main/src/main/java/io/prestosql/sql/planner/iterative/rule/PushLimitThroughMarkDistinct.java/PushLimitThroughMarkDistinct/apply
class PushLimitThroughMarkDistinct:    @Override
    public Result apply(LimitNode parent, Captures captures, Context context)
    {
        return Result.ofPlanNode(transpose(parent, captures.get(CHILD)));
    }