You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/08/18 13:35:03 UTC

[GitHub] [arrow] jorisvandenbossche commented on pull request #10958: ARROW-13652: [Python] Expose copy_files in pyarrow.fs

jorisvandenbossche commented on pull request #10958:
URL: https://github.com/apache/arrow/pull/10958#issuecomment-901120480


   AppVeyor failure is an actuall error I need to look into (windows path issues ..):
   
   
   <details>
   
   ```
           # Copy directory with local file paths
           destination_dir1 = tempdir / "destination1"
           # TODO need to create?
           destination_dir1.mkdir()
   >       copy_files(str(source_dir), str(destination_dir1))
   pyarrow\tests\test_fs.py:1619: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
   pyarrow\fs.py:234: in copy_files
       destination_fs, destination_path)
   pyarrow\_fs.pyx:1162: in pyarrow._fs._copy_files_selector
       check_status(CCopyFilesWithSelector(
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
   >   raise ArrowInvalid(message)
   E   pyarrow.lib.ArrowInvalid: GetFileInfo() yielded path 'C:/Users/appveyor/AppData/Local/Temp/1/pytest-of-appveyor/pytest-0/test_copy_files_directory0/source/file1', which is outside base dir 'C:\Users\appveyor\AppData\Local\Temp\1\pytest-of-appveyor\pytest-0\test_copy_files_directory0\source'
   ```
   
   </details>


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org