diff --git a/seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/catalog/PaimonCatalog.java b/seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/catalog/PaimonCatalog.java index 2c9fcd6f828..d896e015398 100644 --- a/seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/catalog/PaimonCatalog.java +++ b/seatunnel-connectors-v2/connector-paimon/src/main/java/org/apache/seatunnel/connectors/seatunnel/paimon/catalog/PaimonCatalog.java @@ -222,7 +222,8 @@ private CatalogTable toCatalogTable( BasicTypeDefine.builder() .name(dataField.name()) .comment(dataField.description()) - .nativeType(dataField.type()); + .nativeType(dataField.type()) + .nullable(dataField.type().isNullable()); Column column = SchemaUtil.toSeaTunnelType(typeDefineBuilder.build()); builder.column(column); });