alamb commented on a change in pull request #9536:
URL: https://github.com/apache/arrow/pull/9536#discussion_r579789879
##########
File path: rust/arrow/src/ipc/writer.rs
##########
@@ -434,6 +434,12 @@ impl<W: Write> FileWriter<W> {
/// Write footer and closing tag, then mark the writer as done
pub fn finish(&mut self) -> Result<()> {
+ if self.finished {
Review comment:
this looks like a good change to to me ( protect people from themselves)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]