Jonathan Keane created ARROW-14660:
--------------------------------------

             Summary: [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


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