Skip to content

[C++][Parquet] Limit schema nesting depth when parsing Thrift metadata #51238

Closed

Description

@pitrou

Describe the enhancement requested

Reconstructing a nested Schema from the Parquet Thrift metadata implies a recursive call that can blow up the stack on pathologically-nested schemas (with thousands of nesting levels or more).

We should add a limit on the schema nesting depth to turn a stack overflow-induced crash into a regular Parquet error.

Component(s)

C++, Parquet

Activity

  1. self-assigned this
    on Sep 8, 2026
  2. added 3 commits that reference this issue on Sep 8, 2026
  3. added this to the 26.0.0 milestone on Sep 9, 2026
  4. pitrou commented on Sep 9, 2026

    @pitrou
    MemberAuthor

    Issue resolved by pull request 51239
    #51239

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