presto-main/src/main/java/io/prestosql/sql/analyzer/Scope.java/Builder/withNamedQuery
class Builder:        public Builder withNamedQuery(String name, WithQuery withQuery)
        {
            checkArgument(!containsNamedQuery(name), "Query '%s' is already added", name);
            namedQueries.put(name, withQuery);
            return this;
        }