presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/RaptorPartitioningHandle.java/RaptorPartitioningHandle/equals
class RaptorPartitioningHandle:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if ((o == null) || (getClass() != o.getClass())) {
            return false;
        }
        RaptorPartitioningHandle that = (RaptorPartitioningHandle) o;
        return (distributionId == that.distributionId) &&
                Objects.equals(bucketToNode, that.bucketToNode);
    }