You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Martin (Jira)" <ji...@apache.org> on 2020/02/07 10:25:00 UTC

[jira] [Created] (ARROW-7792) arrow::read_feather does not close connection to file

Martin created ARROW-7792:
-----------------------------

             Summary: arrow::read_feather does not close connection to file
                 Key: ARROW-7792
                 URL: https://issues.apache.org/jira/browse/ARROW-7792
             Project: Apache Arrow
          Issue Type: Bug
          Components: R
            Reporter: Martin


x = as.data.frame(seq(1:100))

pbFilename <- file.path(getwd(), "reproduceBug.feather")

arrow::write_feather(x = x, sink = pbFilename)
file.exists(pbFilename)
file.remove(pbFilename)

arrow::write_feather(x = x, sink = pbFilename)
tempDX <- arrow::read_feather(file = pbFilename, as_data_frame = T)

file.exists(pbFilename)
file.remove(pbFilename)

>Warning message:
>In file.remove(pbFilename) :
>cannot remove file 'C:/Martin/Repo/ReinforcementLearner/reproduceBug.feather', reason

>  'Permission denied'

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)