presto-parser/src/main/java/io/prestosql/sql/tree/QuerySpecification.java/QuerySpecification/hashCode
class QuerySpecification:    @Override
    public int hashCode()
    {
        return Objects.hash(select, from, where, groupBy, having, orderBy, offset, limit);
    }