sfackler opened a new pull request #9520: URL: https://github.com/apache/arrow/pull/9520
A common reason a writer would be dropping without finishing is because the underlying stream returned an earlier error. In that case, the destructor will probably also encounter an error, resulting in a panic. Instead just ignore the result from finish, mirroring the behavior of the standard library's BufWriter. ---------------------------------------------------------------- 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: us...@infra.apache.org