Skip to content

Commit

Permalink
Fixing TestJavaHoodieBackedMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
nsivabalan committed Nov 4, 2024
1 parent 3c5bbc8 commit 379dfe0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2786,7 +2786,7 @@ private void validateMetadata(HoodieJavaWriteClient testClient, Option<String> i
}
});

try (HoodieBackedTableMetadataWriter<List<HoodieRecord>> metadataWriter = metadataWriter(client)) {
try (HoodieBackedTableMetadataWriter<List<HoodieRecord>, List<WriteStatus>> metadataWriter = metadataWriter(client)) {
assertNotNull(metadataWriter, "MetadataWriter should have been initialized");

// Validate write config for metadata table
Expand Down Expand Up @@ -2897,7 +2897,7 @@ private List<StoragePath> getAllFiles(HoodieTableMetadata metadata) throws Excep
return allfiles;
}

private HoodieBackedTableMetadataWriter<List<HoodieRecord>> metadataWriter(HoodieJavaWriteClient client) {
private HoodieBackedTableMetadataWriter<List<HoodieRecord>, List<WriteStatus>> metadataWriter(HoodieJavaWriteClient client) {
return metadataWriter(client.getConfig());
}

Expand Down

0 comments on commit 379dfe0

Please sign in to comment.