-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix: Properly load nested Parquet Statistics #20610
fix: Properly load nested Parquet Statistics #20610
Conversation
5907888
to
56a3263
Compare
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.
All these files are now just merged into statistics.rs
@@ -19,24 +19,12 @@ fn round_trip_opt_stats( | |||
compression: CompressionOptions, | |||
encodings: Vec<Encoding>, | |||
) -> PolarsResult<()> { | |||
let (array, _statistics) = match file { |
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.
The statistics were ignored here anyway, so I just removed them.
This fixes a bug where nested statistics were incorrectly being loaded as if they were proper values. Fixes pola-rs#20510.
56a3263
to
f0118a6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #20610 +/- ##
==========================================
+ Coverage 79.00% 79.04% +0.04%
==========================================
Files 1566 1557 -9
Lines 221034 220498 -536
Branches 2510 2510
==========================================
- Hits 174618 174292 -326
+ Misses 45842 45632 -210
Partials 574 574 ☔ View full report in Codecov by Sentry. |
This fixes a bug where nested statistics were incorrectly being loaded as if they were proper values.
Fixes #20510.