Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6622

[C++][R] SubTreeFileSystem path error on Windows

    XMLWordPrintableJSON

    Details

      Description

      On ARROW-6438, we got this error on Windows testing out the subtree:

      > 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 ]
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              npr Neal Richardson
              Reporter:
              npr Neal Richardson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5h 40m
                5h 40m