Skip to content

Commit 1122d81

Browse files
hqbhohofindepi
authored andcommitted
Add missing defaultValue for ColumnMetadata.Builder
1 parent ed1b468 commit 1122d81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/trino-spi/src/main/java/io/trino/spi/connector/ColumnMetadata.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ private Builder(ColumnMetadata columnMetadata)
190190
{
191191
this.name = columnMetadata.getName();
192192
this.type = columnMetadata.getType();
193+
this.defaultValue = columnMetadata.getDefaultValue();
193194
this.nullable = columnMetadata.isNullable();
194195
this.comment = Optional.ofNullable(columnMetadata.getComment());
195196
this.extraInfo = Optional.ofNullable(columnMetadata.getExtraInfo());

0 commit comments

Comments
 (0)