Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-44900: [Python] Automatically support fsspec filesystem URIs #45089

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kszucs
Copy link
Member

@kszucs kszucs commented Dec 20, 2024

Rationale for this change

What changes are included in this PR?

If _resolve_filesystem_and_path() is unable to recognize the scheme used in the URI then try to load and use an fsspec implementation.

Are these changes tested?

Working on it.

Are there any user-facing changes?

Various user facing functions now support more filesystem implementations:

pyarrow.fs.copy_files()
ParquetFile()
ParquetDataset()
dt.dataset()

pq.read_metadata()
pq.write_metadata()
pq.read_table()
pq.read_schema()

orc.read_table()

@kszucs kszucs changed the title GH-44900: [Python] Automatically support fsspec filesystem URIs GH-44900: [Python] Automatically support fsspec filesystem URIs Dec 20, 2024
@pitrou
Copy link
Member

pitrou commented Dec 20, 2024

As I wrote on the issue, perhaps we should support it explicit as fsspec+... URLs (such as fsspec+hf://...)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants