presto-parser/src/main/java/io/prestosql/sql/tree/Intersect.java/Intersect/hashCode
class Intersect:    @Override
    public int hashCode()
    {
        return Objects.hash(relations, isDistinct());
    }