Skip to content

Commit 07c32f5

Browse files
committed
Replace deprecated NestedField.of with NestedField.optional
1 parent cb5060d commit 07c32f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/TestIcebergV2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ void testAnalyzeNoSnapshot()
14941494
catalog.newCreateTableTransaction(
14951495
SESSION,
14961496
schemaTableName,
1497-
new Schema(Types.NestedField.of(1, true, "x", Types.LongType.get())),
1497+
new Schema(Types.NestedField.optional(1, "x", Types.LongType.get())),
14981498
PartitionSpec.unpartitioned(),
14991499
SortOrder.unsorted(),
15001500
Optional.ofNullable(catalog.defaultTableLocation(SESSION, schemaTableName)),

0 commit comments

Comments
 (0)