@Override
  public boolean equals(Object other) {
    if (this == other) {
      return true;
    }
    if (other == null) {
      return false;
    }
    if (!(other instanceof ByteArrayWrapper)) {
      return false;
    }

    ByteArrayWrapper that = (ByteArrayWrapper) other;
    if (size != that.size) {
      return false;
    }
    for (int i = 0; i < size; ++i) {
      if (bytes[i] != that.bytes[i]) {
        return false;
      }
    }
    return true;
  }
Return true if the bytes in each wrapper are equal.

@param other the object to compare to.
@return true if the two objects are equal.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/lookup/ByteArrayWrapper.java