Skip to content

Use LevelHistogram throughout Parquet metadata #6134

@etseidl

Description

@etseidl

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Related to #6129. #6105 added a new LevelHistogram struct to represent histograms recently added to the spec. There remain places where this histogram data is still represented with a Vec<i64>.

Describe the solution you'd like
Replace the remaining bare vectors (in PageIndex and ColumnIndexBuilder with the new struct.

Describe alternatives you've considered
The vectors in ColumnIndexBuilder could be left as is since they are closer to the thrift representation, but I think it's cleaner for all level histograms outside actual thrift structs to share the same interface.

Additional context
See #6105 (comment)

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