Skip to content

[Python] Add support for GCS URI (gs://) to pyarrow.parquet.read_table #37960

@KellyWalker

Description

@KellyWalker

Describe the enhancement requested

Currently, this works:

from gcsfs import GCSFileSystem
import pyarrow.parquet as pq
gcs = GCSFileSystem()
parquet_file = pq.read_table("/bucket/path/to/file.parquet", filesystem=gcs)

But this does not:

import pyarrow.parquet as pq
parquet_file = pq.read_table("gs://bucket/path/to/file.parquet")

It would be nice if the latter worked directly without needing to specify the filesystem.

Component(s)

Parquet, Python

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions