Skip to content

[C++][Parquet] Expand ParquetVersion enum values #40096

Open

Description

@pitrou

Describe the enhancement requested

The latest released Parquet format version is 2.10.0, but our ParquetVersion enum only goes up to 2.6.0. We should fill in the missing values. For example, 2.8.0 adds the BYTE_STREAM_SPLIT encoding for floats.

Component(s)

C++, Parquet

Activity

  1. pitrou commented on Feb 15, 2024

    @pitrou
    MemberAuthor
  2. mapleFU commented on Feb 17, 2024

    @mapleFU
    Member

    @pitrou I've considering this problem before, we talked about it here: #35776 , I forgot this previously

  3. added this to the 16.0.0 milestone on Feb 20, 2024
  4. modified the milestones: 16.0.0, 17.0.0 on Apr 8, 2024
  5. modified the milestones: 17.0.0, 18.0.0 on Jun 28, 2024
  6. modified the milestones: 18.0.0, 19.0.0 on Oct 9, 2024
  7. modified the milestones: 19.0.0, 20.0.0 on Jan 3, 2025
  8. modified the milestones: 20.0.0, 21.0.0 on Apr 1, 2025
  9. modified the milestones: 21.0.0, 22.0.0 on Jun 30, 2025
  10. diego-ciciani01 commented on Sep 25, 2025

    @diego-ciciani01

    Hi, is it still necessary to continue with this issue? If so, I can help.

  11. wgtmac commented on Sep 26, 2025

    @wgtmac
    Member

    @diego-ciciani01 Feel free to create a PR :)

  12. mapleFU commented on Sep 26, 2025

    @mapleFU
    Member

    Personally I think this would be a bit tricky, what would you plan to be in 2.10?

    And some 2.10 files might be written with 2.6.0 now? 🤔

  13. diego-ciciani01 commented on Sep 26, 2025

    @diego-ciciani01

    Thanks for the feedback above. I’ve been digging a bit deeper into the issue, and I now understand why simply adding new values to the ParquetVersion enum might not be straightforward.

    I think we should start by researching the exact features introduced in each version (2.7-2.10) from the Parquet spec changelog. For the version mismatch issue, we could consider adding a validation step to ensure written files declare the minimum required version for their actual features used, or something like that.

    Let me know if I understood what you meant.

  14. thisisnic commented on Sep 30, 2025

    @thisisnic
    Member

    I have an in-progress draft PR up for this already, as I had assumed from the good-first-issue label that we just needed to add the version numbers in. It sounds like it's more complex than that, so if that's the case, feel free to take it over in a new PR, as I don't have the capacity to complete those extra bits.

  15. modified the milestones: 22.0.0, 23.0.0 on Oct 6, 2025
  16. removed this from the 23.0.0 milestone on Jan 7, 2026
  17. removed their assignment
    on Apr 7, 2026
  18. imeghar2408-max commented on Aug 14, 2026

    @imeghar2408-max

    Hi @pitrou, I'd like to work on this issue. Is it okay if I take it up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions