presto-main/src/main/java/io/prestosql/sql/planner/QueryPlanner.java/QueryPlanner/window
class QueryPlanner:    private PlanBuilder window(PlanBuilder subPlan, QuerySpecification node)
    {
        return window(subPlan, ImmutableList.copyOf(analysis.getWindowFunctions(node)));
    }