Skip to content

Optionally read parquet page indexes #8070

@kczimm

Description

@kczimm

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The current ParquetMetaDataReader only allows enabling or disabling the reading of page indexes (column and offset indexes) as a boolean flag. This lacks flexibility when using the same ParquetMetaDataReader for parquet files with and without the optional indexes present but wanting to use them when they are available.

Describe the solution you'd like
Update the ParquetMetaDataReader to make reading the page indexes optional instead of required or skip.

Describe alternatives you've considered
Create a ParquetMetaDataReader, require reading page indexes, attempt to read, catch a failure if it occurs, recreate without reading page indexes, and reread.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAny new improvement worthy of a entry in the changelogparquetChanges to the parquet crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions