class ray.data.datasource.ParquetMetadataProvider[source]#

Bases: FileMetadataProvider

Abstract callable that provides block metadata for Arrow Parquet file fragments.

All file fragments should belong to a single dataset block.

Supports optional pre-fetching of ordered metadata for all file fragments in a single batch to help optimize metadata resolution.

Current subclasses:

DeveloperAPI: This API may change across minor Ray releases.




Pre-fetches file metadata for all Parquet file fragments in a single batch.