public boolean isValidValue(BigDecimal field) {
      return field.compareTo(BigDecimal.ZERO) >= 0 && (limit == null || field.compareTo(limit) < 0);
    }
Returns whether a given value is valid for a field of this time unit.

@param field Field value
@return Whether value
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/util/DateTimeUtils.java