[ 
https://issues.apache.org/jira/browse/ARROW-14660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17444134#comment-17444134
 ] 

Jonathan Keane commented on ARROW-14660:
----------------------------------------

Do the S3 tests also leave files open? I thought I remember seeing "closing 
file" warnings after those tests finish

> [R] Investigate file closing
> ----------------------------
>
>                 Key: ARROW-14660
>                 URL: https://issues.apache.org/jira/browse/ARROW-14660
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Jonathan Keane
>            Priority: Major
>
> In a few cases, [we have the pattern of {{write; 
> close}}|https://github.com/apache/arrow/blob/f4dd80612f4c498a3bf9da53e974dc85aed78313/r/R/parquet.R#L199-L200]
>  when we probably should use {{on.exit()}} unless we can confirm that C++ is 
> closing the file on error.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to