Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wankunde committed Dec 21, 2023
1 parent 99b43b8 commit 6ee8649
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -622,9 +622,9 @@ public void testNullFieldMetadataDebugLogging() {
@Test
public void testMetadataToJson() {
ParquetMetadata metadata = new ParquetMetadata(null, null);
assertEquals("{\"fileMetaData\":null,\"blocks\":null}", ParquetMetadata.toJSON(metadata));
assertEquals("{\"fileMetaData\":null,\"blocks\":null,\"inputFile\":null}", ParquetMetadata.toJSON(metadata));
assertEquals(
("{\n" + " \"fileMetaData\" : null,\n" + " \"blocks\" : null\n" + "}")
("{\n" + " \"fileMetaData\" : null,\n" + " \"blocks\" : null,\n" + " \"inputFile\" : null\n" + "}")
.replace("\n", System.lineSeparator()),
ParquetMetadata.toPrettyJSON(metadata));
}
Expand Down

0 comments on commit 6ee8649

Please sign in to comment.