Could somebody give me a hint on how can I copy a file form a local filesystem to a HDFS filesystem using PyArrow's new filesystem interface (i.e. upload, copyFromLocal)?
I have read the documentation back-and-forth, and tried a few things out (using copy_file() with FS URIs), but none of it seems to work. The usage of the legacy HDFS API is straightforward, but it is deprecated, though the new API seems to be incomplete. Of course moving chunks of data among file descriptors is a solutions, but why copy_file() exists then?