[
https://issues.apache.org/jira/browse/ARROW-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913120#comment-16913120
]
Antoine Pitrou commented on ARROW-6300:
---------------------------------------
> generally, I thought it was frowned upon to work that could fail in the
> destructor anyways
Probably, but I think it's unavoidable to handle cases where the user didn't
clean up explicitly.
> Are we writing temporary files and then moving them (i.e. letting the OS
> cleanup the temporary file)?
No, we aren't doing that in any of the IO classes currently.
> [C++] Add io::OutputStream::Abort()
> -----------------------------------
>
> Key: ARROW-6300
> URL: https://issues.apache.org/jira/browse/ARROW-6300
> Project: Apache Arrow
> Issue Type: Wish
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Major
>
> This method would abort the current output stream without trying to flush or
> commit any pending internal data. This makes sense mostly for buffered
> streams. For other streams it could simply synonymous to Close().
--
This message was sent by Atlassian Jira
(v8.3.2#803003)