-
Notifications
You must be signed in to change notification settings - Fork 3.9k
GH-40096: [C++][Parquet] Expand ParquetVersion enum values #47618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
PARQUET_1_0 = 0L, PARQUET_2_4 = 1L, PARQUET_2_6 = 2L, | ||
PARQUET_2_7 = 3L, PARQUET_2_8 = 4L, PARQUET_2_9 = 5L, PARQUET_2_10 = 6L, | ||
PARQUET_2_11 = 7L, PARQUET_2_12 = 8L |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently this change ensures it matches up with the C++; not sure about this myself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jonkeane If we export this enum, does that mean we shouldn't go changing previous values, or that it's actually important to sync up with the C++ values? I'm not confident I fully understand how enums are used here and what matches what.
Rationale for this change
ParquetVersion enum values weren't up to date with Parquet versions
What changes are included in this PR?
Update ParquetVersion to latest Parquet versions
Are these changes tested?
Yes
Are there any user-facing changes?
Yes - default assumption for Parquet version 2.X is 2.12 not 2.6.