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. #7231
  • Loading branch information
hawk9821 committed Jul 22, 2024
1 parent 4b3af9b commit 3b6380d
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 3b6380d

Please sign in to comment.