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: Bitmap collect into safety #17588

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

coastalwhite
Copy link
Collaborator

Fixes #17579.

This fixes a regression in #17542. This now properly checks the safety within the BitmapIter::collect_n_into. This was sloppy on my end and it is now much better tested.

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Jul 12, 2024
Fixes pola-rs#17579.

This now properly checks the safety within the `BitmapIter::collect_n_into`. This was sloppy on my end and it is now much better tested.
Copy link

codecov bot commented Jul 12, 2024

Codecov Report

Attention: Patch coverage is 25.71429% with 52 lines in your changes missing coverage. Please review.

Project coverage is 80.45%. Comparing base (a098ed1) to head (1456f03).

Files Patch % Lines
crates/polars-arrow/src/bitmap/utils/iterator.rs 25.71% 52 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #17588   +/-   ##
=======================================
  Coverage   80.44%   80.45%           
=======================================
  Files        1484     1484           
  Lines      195532   195594   +62     
  Branches     2778     2778           
=======================================
+ Hits       157299   157359   +60     
- Misses      37721    37723    +2     
  Partials      512      512           

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

@ritchie46 ritchie46 merged commit b40be85 into pola-rs:main Jul 12, 2024
26 checks passed
@coastalwhite coastalwhite deleted the fix-bitmap-collect-17579 branch July 12, 2024 11:27
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
Development

Successfully merging this pull request may close these issues.

Panic when running complicated query on main
2 participants