Skip to content

[Python] Allow Dataset construction from FileInfo objects #40142

Closed

Description

@fjetter

Describe the enhancement requested

I'm developing a new dask integration with pyarrow parquet reader (see dask/dask-expr#882) and want to rely on the pyarrow Filesystem more.

Right now, we are performing a list operation ourselves to get all touched files and I would like to pass the retrieved FileInfo objects directly to the dataset constructor. This API is already exposed in C++ but python bindings are missing.

The benefit of this is that there is API is that it cuts the need to perform additional HEAD requests to a remote storage.

This came up in #38389 (comment) and there's been related work already with #37857

Component(s)

Python

Activity

  1. changed the title [-]Allow Dataset construction from `FileInfo` objects[/-] [+][Python] Allow Dataset construction from `FileInfo` objects[/+] on Feb 19, 2024
  2. added a commit that references this issue on Feb 27, 2024
  3. added this to the 16.0.0 milestone on Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions