presto-parser/src/main/java/io/prestosql/sql/tree/SampledRelation.java/SampledRelation/equals
class SampledRelation:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        SampledRelation that = (SampledRelation) o;
        return Objects.equals(relation, that.relation) &&
                Objects.equals(type, that.type) &&
                Objects.equals(samplePercentage, that.samplePercentage);
    }