Skip to content
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: Dropped/shifted rows in parquet scan with streaming=True #18766

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

nameexhaustion
Copy link
Collaborator

@nameexhaustion nameexhaustion commented Sep 16, 2024

Fixes #18739
Fixes #18779

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Sep 16, 2024
.map(|(iter_idx, (_rg_idx, _md, slice, row_count_start))| {
let md = &file_metadata.row_groups[iter_idx];

.map(|(md, slice, row_count_start)| {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iter_idx was an index into the previous version of partitioned metadata - I was just meant to restore this to directly use md from par_iter()

Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.85%. Comparing base (dddf0b7) to head (31a7dc8).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18766      +/-   ##
==========================================
- Coverage   79.88%   79.85%   -0.04%     
==========================================
  Files        1513     1517       +4     
  Lines      203466   205530    +2064     
  Branches     2892     2892              
==========================================
+ Hits       162546   164120    +1574     
- Misses      40372    40862     +490     
  Partials      548      548              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nameexhaustion nameexhaustion marked this pull request as ready for review September 16, 2024 12:17
@nameexhaustion
Copy link
Collaborator Author

Branch is based on py-1.7.1, and contains a release commit for 1.7.2

@ritchie46 ritchie46 merged commit 55e7fec into pola-rs:main Sep 17, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
2 participants