You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2020/05/13 09:15:00 UTC

[jira] [Created] (ARROW-8780) [Python] A fsspec-compatible wrapper for pyarrow.fs filesystems

Joris Van den Bossche created ARROW-8780:
--------------------------------------------

             Summary: [Python] A fsspec-compatible wrapper for pyarrow.fs filesystems
                 Key: ARROW-8780
                 URL: https://issues.apache.org/jira/browse/ARROW-8780
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Joris Van den Bossche


The new {{pyarrow.fs}} FileSystem objects have a limited Python API (currently mimicking the C++ API).

In Python, [fsspec|https://filesystem-spec.readthedocs.io/en/latest] defines a common API for a variety filesystem implementations. 

We could try to implement a, fsspec-compatible class wrapping the {{pyarrow.fs}} native filesystems. Such as class would provide the methods expected according to fsspec, and implement those using the actual {{pyarrow.fs.FileSystem}} under the hood.

This might be mainly useful for two use cases:

- {{pyarrow.fs}} filesystems can be used in settings that expect an fsspec-compatible filesytem object
- it provides a way to have a "richer" API around our {{pyarrow.fs}} filesystems (which has been requested before, cfr ARROW-7584), without expanding the core filesystem objects



--
This message was sent by Atlassian Jira
(v8.3.4#803005)