Skip to content

[C++][Parquet] Avoid copying the values buffer for V2 data pages without levels #55855

Done

Description

@HuaHuaY

Describe the enhancement requested

BuildDataPageV2() allocates a new buffer and copies the encoded values into it even when a page has no repetition or definition levels. For a required, non-repeated column, the values buffer already contains the entire page payload.

This follows up on #55306, which removed a separate copy when buffering dictionary-encoded V2 pages.

Component(s)

C++, Parquet

Activity

  1. self-assigned this
    on Nov 30, 2026
  2. added a commit that references this issue on Dec 1, 2026
  3. added this to the 27.0.0 milestone on Dec 1, 2026
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