private static int compareLiteral(DataType type, Object v1, Object v2) {
    if (v1 instanceof Comparable) {
      return ((Comparable<Object>) v1).compareTo(v2);
    } else {
      throw new RuntimeException(String.format("Unsupported type: %s, val: %s", type, v1));
    }
  }
Combines this RowDataPredicate with another using the specified operator.

@param operator the operator to use for the combination
@param that the other RowDataPredicate to combine with this one
@return the combined RowDataPredicate
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/lookup/filter/RowDataPredicate.java