Skip to content

[C++][Parquet] Parquet treats unknown compression codec as uncompressed #53518

Closed

Description

@emkornfield

Describe the bug, including details regarding any error messages, version, and platform.

The parquet thrift decoding maps an out of range codec value as uncompressed, we should handle it as undefined, so we can fail early instead of allowing encodings to possibly read garbage data.

Component(s)

Parquet

Activity

  1. changed the title [-]Parquet treats unknown compression codec as uncompressed[/-] [+][Parquet] Parquet treats unknown compression codec as uncompressed[/+] on Oct 13, 2026
  2. changed the title [-][Parquet] Parquet treats unknown compression codec as uncompressed[/-] [+][C++][Parquet] Parquet treats unknown compression codec as uncompressed[/+] on Oct 13, 2026
  3. added a commit that references this issue on Oct 13, 2026
  4. added this to the 27.0.0 milestone on Oct 13, 2026
  5. pitrou commented on Oct 13, 2026

    @pitrou
    Member

    Issue resolved by pull request 53522
    #53522

  6. pitrou commented on Oct 13, 2026

    @pitrou
    Member

    @divjotarora Can you post here so that we assign the issue to you?

  7. divjotarora commented on Oct 16, 2026

    @divjotarora
    Contributor

    @divjotarora Can you post here so that we assign the issue to you?

    @pitrou Sorry, missed your comment. I thought it was already assigned to me per the bot comment on the PR

  8. pitrou commented on Oct 19, 2026

    @pitrou
    Member
         [@pitrou](https://github.com/pitrou) Sorry, missed your comment. I thought it was already assigned to me per the bot [comment](https://github.com/apache/arrow/pull/53522#issuecomment-6142663911) on the PR
    

    Interesting. Apparently it wasn't :)

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