Closed clumsy closed 7 months ago
Ok, in this particular case the issue is that the local_path
directory didn't exist, so if I create it and only copy files/empty directories inside it works. But what will create nested directories when this works recursively (as advertised in the documentation)? I currently get the same error but for the nested path. I don't even know these for example when I iterate non-recursive file selector and pass top level paths to copy_files
.
Describe the bug, including details regarding any error messages, version, and platform.
The sample from the offical docs does not seem to work in v15.0.0
With
local_path = "/tmp/fs_test"
I get:I not a C++ expert but I tried looking into the implementation up until pyarrow tries to create to call
OpenOutputStream
using the destination path (in the error). But it does not exist (prior the call), pyarrow didn't create it and it looks as if pyarrow also does not tolerate missing it.This looks like a bug, but I wanted to double-check that the users are not expected to create all the files in target file system for example.
Component(s)
Python