Skip to content

Commit

Permalink
[avro] Do not flush on every block for DataFileWriter (apache#3893)
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi authored Aug 5, 2024
1 parent 2d94053 commit 64889d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ private RowAvroWriterFactory(RowType rowType) {
new DataFileWriter<>(datumWriter);
dataFileWriter.setCodec(createCodecFactory(compression));
dataFileWriter.create(schema, out);
dataFileWriter.setFlushOnEveryBlock(false);
return dataFileWriter;
});
}
Expand Down

0 comments on commit 64889d7

Please sign in to comment.