presto-main/src/main/java/io/prestosql/sql/planner/sanity/TypeValidator.java/Visitor/visitWindow
class Visitor:        @Override
        public Void visitWindow(WindowNode node, Void context)
        {
            visitPlan(node, context);

            checkWindowFunctions(node.getWindowFunctions());

            return null;
        }