[ https://issues.apache.org/jira/browse/ARROW-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913508#comment-16913508 ]
Antoine Pitrou commented on ARROW-6323: --------------------------------------- It sounds fine to handle it in R. If we want we can add some handling for that in C++ too, but that doesn't sound urgent. > [R] Expand file paths when passing to readers > --------------------------------------------- > > Key: ARROW-6323 > URL: https://issues.apache.org/jira/browse/ARROW-6323 > Project: Apache Arrow > Issue Type: Bug > Reporter: Neal Richardson > Assignee: Neal Richardson > Priority: Major > Fix For: 0.15.0 > > > All file paths in R are wrapped in {{fs::path_abs()}}, which handles relative > paths, but it doesn't expand {{~}}, so this fails: > {code:java} > > df <- read_parquet("~/Downloads/demofile.parquet") > Error in io___MemoryMappedFile__Open(fs::path_abs(path), mode) : > IOError: Failed to open local file '~/Downloads/demofile.parquet', error: > No such file or directory > {code} > This is fixed by using {{fs::path_real()}} instead. > Should this be properly handled in C++ though? cc [~pitrou] -- This message was sent by Atlassian Jira (v8.3.2#803003)