You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/09/19 19:29:00 UTC
[jira] [Commented] (ARROW-6622) [C++][R] SubTreeFileSystem path
error on Windows
[ https://issues.apache.org/jira/browse/ARROW-6622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933706#comment-16933706 ]
Antoine Pitrou commented on ARROW-6622:
---------------------------------------
You should convert all backslashes to forward slashes when talking to the FileSystem API.
> [C++][R] SubTreeFileSystem path error on Windows
> ------------------------------------------------
>
> Key: ARROW-6622
> URL: https://issues.apache.org/jira/browse/ARROW-6622
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, R
> Reporter: Neal Richardson
> Priority: Major
> Labels: filesystem
> Fix For: 1.0.0
>
>
> On ARROW-6438, we got this error on Windows testing out the subtree:
> {code}
> > test_check("arrow")
> -- 1. Error: SubTreeFilesystem (@test-filesystem.R#86) ------------------------
> Unknown error: Underlying filesystem returned path 'C:/Users/appveyor/AppData/Local/Temp/1/RtmpqWFbxi/working_dir/Rtmp2Dfa6d/file2904934312d/DESCRIPTION', which is not a subpath of 'C:/Users/appveyor/AppData/Local/Temp/1\RtmpqWFbxi/working_dir\Rtmp2Dfa6d\file2904934312d/'
> 1: st_fs$GetTargetStats(c("DESCRIPTION", "test", "nope", "DESC.txt")) at testthat/test-filesystem.R:86
> 2: map(fs___FileSystem__GetTargetStats_Paths(self, x), shared_ptr, class = FileStats)
> 3: fs___FileSystem__GetTargetStats_Paths(self, x)
>
> == testthat results ===========================================================
> [ OK: 992 | SKIPPED: 2 | WARNINGS: 0 | FAILED: 1 ]
> {code}
> Notice the mixture of forward slashes and backslashes in the paths so that they don't match up.
> I'm not sure which layer is doing the wrong thing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)