-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Write parquet PageEncodingStats #7354
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
Conversation
|
Thanks @jhorstmann -- I am running the write benchmarks on this PR to see if there is any performance impact |
|
I'll take a look soon. I had no idea this wasn't supported 😅. Sounds like something to add to the implementation status page. |
|
My benchmark results show no significant change in performance |
etseidl
left a comment
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.
Looks good. Thanks @jhorstmann for noticing this was missing!
|
I merged up from main to resolve some merge conflicts |
|
Merged to get clippy fixes for new Clippy version |
|
🚀 we have a clean CI run Thanks again @jhorstmann and @etseidl |
Which issue does this PR close?
encoding_statsin Parquet Writing #7341.Rationale for this change
PageEncodingStatscan be useful to determine up front whether all pages of a column are dictionary encoded. Keeping track of the counts per page type and encoding is also quite cheap, and their metadata size is small, so they can be enabled always independent of theEnabledStatisticssetting.What changes are included in this PR?
Are there any user-facing changes?
No api changes, written files will now include
PageEncodingStatswhich previously were alwaysNone.