Tortar commented on issue #492:
URL: https://github.com/apache/arrow-julia/issues/492#issuecomment-1774077817

   I'm testing in REPL but `ans` is nothing in this case though, anyway 
changing it in
   
   ```julia
   using Arrow, DataFrames
   function create_file()
       data = DataFrame(a=1:4, b=["M", "F", "F", "M"])
       Arrow.write("MWE.arrow", data; file = false)
       DataFrame.(Arrow.Stream("MWE.arrow"), copycols=true)
   end
   if true
       create_file()
       GC.gc()
       rm("MWE.arrow")
   end
   ```
   
   removes the file fine.
   
   But still I have problems understanding why that other version without the 
function call instead gives error, could this be a GC issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to