presto-main/src/main/java/io/prestosql/sql/planner/sanity/TypeValidator.java/TypeValidator/checkWindowFunctions
class TypeValidator:        private void checkWindowFunctions(Map<Symbol, WindowNode.Function> functions)
        {
            functions.forEach((symbol, function) -> {
                checkSignature(symbol, function.getResolvedFunction().getSignature());
                checkCall(symbol, function.getResolvedFunction().getSignature(), function.getArguments());
            });
        }