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: Address overflow combining u64 hashes in Debug builds #16323

Merged
merged 1 commit into from
May 20, 2024

Conversation

alexander-beedie
Copy link
Collaborator

@alexander-beedie alexander-beedie commented May 19, 2024

Prevent u64 overflow panic when combining AnyValue list-element hashes (in debug builds).

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels May 19, 2024
@alexander-beedie alexander-beedie changed the title fix: Address overflow in Debug combining u64 hashes fix: Address overflow/wraparound combining u64 hashes May 19, 2024
Copy link

codecov bot commented May 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.35%. Comparing base (fa6b1ca) to head (9c3c133).

Files Patch % Lines
crates/polars-core/src/series/mod.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #16323   +/-   ##
=======================================
  Coverage   81.35%   81.35%           
=======================================
  Files        1403     1403           
  Lines      183463   183463           
  Branches     2929     2929           
=======================================
+ Hits       149253   149259    +6     
+ Misses      33707    33701    -6     
  Partials      503      503           

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

@alexander-beedie alexander-beedie changed the title fix: Address overflow/wraparound combining u64 hashes fix: Address overflow combining u64 hashes in Debug May 20, 2024
@alexander-beedie alexander-beedie changed the title fix: Address overflow combining u64 hashes in Debug fix: Address overflow combining u64 hashes in Debug builds May 20, 2024
@ritchie46 ritchie46 merged commit 129c951 into pola-rs:main May 20, 2024
30 checks passed
@alexander-beedie alexander-beedie deleted the fix-hash-overflow branch May 20, 2024 06:49
Wouittone pushed a commit to Wouittone/polars that referenced this pull request Jun 22, 2024
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.

2 participants