Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,9 @@ public void appendFile(Configuration conf, Path file) throws IOException {
}

public void appendFile(InputFile file) throws IOException {
ParquetFileReader.open(file).appendTo(this);
try (ParquetFileReader reader = ParquetFileReader.open(file)) {
reader.appendTo(this);
}
}

public int merge(List<InputFile> inputFiles, CodecFactory.BytesCompressor compressor, String createdBy, long maxBlockSize) throws IOException {
Expand Down