static org.apache.paimon.types.DataType visit(DataType type) {
      return visit(type, new SparkToPaimonTypeVisitor());
    }
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