public org.apache.paimon.types.DataType array(
        org.apache.spark.sql.types.ArrayType array,
        org.apache.paimon.types.DataType elementResult) {
      return new ArrayType(elementResult.copy(array.containsNull()));
    }
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