private RelDataType adjustType(RelDataTypeFactory typeFactory, RelDataType relDataType) {
    return RelDataTypeFactoryImpl.isJavaType(relDataType)
        ? typeFactory.decimalOf(relDataType)
        : relDataType;
  }
Java numeric will always have invalid precision/scale, use its default decimal precision/scale
instead.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/planner/calcite/FlinkTypeSystem.java