Skip to content

Commit c558172

Browse files
committed
Fix failures in TestIcebergGlueCatalogAccessOperations
Due to changes from 970405d
1 parent c101104 commit c558172

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/catalog/glue/TestIcebergGlueCatalogAccessOperations.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,19 +540,21 @@ public void testInformationSchemaTableAndColumns()
540540
.add(GET_TABLE)
541541
.build(),
542542
ImmutableMultiset.<FileOperation>builder()
543-
.add(new FileOperation(METADATA_JSON, "InputFile.newStream"))
543+
.add(new FileOperation(METADATA_JSON, "InputFile.length"))
544+
.add(new FileOperation(METADATA_JSON, "InputFile.newInput"))
544545
.build());
545546

546547
// Pointed columns lookup via DESCRIBE (which does some additional things before delegating to information_schema.columns)
547548
assertInvocations(
548549
session,
549-
"DESCRIBE test_select_i_s_columns0",
550+
"DESCRIBE test_select_i_s_columns1",
550551
ImmutableMultiset.<GlueMetastoreMethod>builder()
551552
.add(GET_DATABASE)
552553
.add(GET_TABLE)
553554
.build(),
554555
ImmutableMultiset.<FileOperation>builder()
555-
.add(new FileOperation(METADATA_JSON, "InputFile.newStream"))
556+
.add(new FileOperation(METADATA_JSON, "InputFile.length"))
557+
.add(new FileOperation(METADATA_JSON, "InputFile.newInput"))
556558
.build());
557559
}
558560
finally {
@@ -611,7 +613,8 @@ public void testSystemMetadataTableComments()
611613
.add(GET_TABLE)
612614
.build(),
613615
ImmutableMultiset.<FileOperation>builder()
614-
.add(new FileOperation(METADATA_JSON, "InputFile.newStream"))
616+
.add(new FileOperation(METADATA_JSON, "InputFile.length"))
617+
.add(new FileOperation(METADATA_JSON, "InputFile.newInput"))
615618
.build());
616619
}
617620
finally {

0 commit comments

Comments
 (0)