You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/09/12 22:27:00 UTC
[jira] [Resolved] (ARROW-6531) [Python] Add detach() method to
buffered streams
[ https://issues.apache.org/jira/browse/ARROW-6531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-6531.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 5367
[https://github.com/apache/arrow/pull/5367]
> [Python] Add detach() method to buffered streams
> ------------------------------------------------
>
> Key: ARROW-6531
> URL: https://issues.apache.org/jira/browse/ARROW-6531
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.15.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{BufferedOutputStream::Close}} closes the raw file handle unconditionally. This may be undesirable in some circumstances.
> Some alternatives:
> * Do not close it
> * Only close it if the {{use_count}} of the {{shared_ptr}} is 1, so we know that no one else has a copy of the shared_ptr
--
This message was sent by Atlassian Jira
(v8.3.2#803003)