presto-spi/src/main/java/io/prestosql/spi/PrestoWarning.java/PrestoWarning/equals
class PrestoWarning:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        PrestoWarning that = (PrestoWarning) o;
        return Objects.equals(warningCode, that.warningCode) && Objects.equals(message, that.message);
    }