Skip to content

[C++][Parquet] Use validity bitmap runs when encoding and decoding nullable values #55900

In review

Description

@HuaHuaY

Describe the enhancement requested

Several Parquet C++ encoders check validity one value at a time or copy non-null values into a temporary buffer before encoding them. For fixed-width Arrow arrays, consecutive valid values are already contiguous in memory and can be copied together.

The byte-array dictionary decoder can also use the validity bitmap to append a run of nulls at once and consume dictionary indices only for valid values. Use the existing bitmap run visitors in these paths to reduce per-value validity checks and temporary copies.

Component(s)

C++, Parquet

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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions