public org.apache.paimon.types.DataType map(
        org.apache.spark.sql.types.MapType map,
        org.apache.paimon.types.DataType keyResult,
        org.apache.paimon.types.DataType valueResult) {
      return new MapType(keyResult.copy(false), valueResult.copy(map.valueContainsNull()));
    }
For simplicity, as a temporary solution, we directly convert the non-null attribute to
nullable on the Spark side.
amoro-format-paimon/src/main/java/org/apache/amoro/formats/paimon/PaimonTypeToSparkType.java