alamb commented on code in PR #8586:
URL: https://github.com/apache/arrow-rs/pull/8586#discussion_r2420297677
##########
parquet/src/arrow/arrow_writer/mod.rs:
##########
@@ -348,6 +348,11 @@ impl<W: Write + Send> ArrowWriter<W> {
self.writer.write_all(buf)
}
+ /// Flushes underlying writer
+ pub fn sync(&mut self) -> std::io::Result<()> {
Review Comment:
technically speaking you can achieve this with `inner_writer().flush()` but
I think this API is nicer and less easy to abuse 👍
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]