Skip to content

Commit

Permalink
The isNullable attribute is true when the primary key field in the Pa…
Browse files Browse the repository at this point in the history
…imon table converts the Column object. apache#7231 (apache#7242)
  • Loading branch information
hawk9821 authored Jul 22, 2024
1 parent 4b3af9b commit b0fe432
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ private CatalogTable toCatalogTable(
BasicTypeDefine.<DataType>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);
});
Expand Down

0 comments on commit b0fe432

Please sign in to comment.