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: Parquet predicate pushdown for lit(_) != #19246

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

coastalwhite
Copy link
Collaborator

Fixes #19238.

@@ -354,7 +354,7 @@ mod stats {
use ChunkCompareIneq as C;
match op {
Operator::Eq => apply_operator_stats_eq(min_max, literal),
Operator::NotEq => apply_operator_stats_eq(min_max, literal),
Operator::NotEq => apply_operator_stats_neq(min_max, literal),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the actual fix. The rest are all drive-by's.

Copy link
Member

Choose a reason for hiding this comment

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

auch.

@coastalwhite coastalwhite changed the title fix: Parquet predicate pushdown for lit(_) !=. fix: Parquet predicate pushdown for lit(_) != Oct 15, 2024
@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars and removed title needs formatting labels Oct 15, 2024
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

Attention: Patch coverage is 81.81818% with 4 lines in your changes missing coverage. Please review.

Project coverage is 80.02%. Comparing base (e29e9df) to head (2c68dc9).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
crates/polars-io/src/parquet/read/predicates.rs 80.95% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19246      +/-   ##
==========================================
+ Coverage   79.68%   80.02%   +0.34%     
==========================================
  Files        1532     1528       -4     
  Lines      209211   209570     +359     
  Branches     2416     2415       -1     
==========================================
+ Hits       166710   167716    +1006     
+ Misses      41953    41306     -647     
  Partials      548      548              

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

@ritchie46 ritchie46 merged commit 109c404 into pola-rs:main Oct 16, 2024
25 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
Development

Successfully merging this pull request may close these issues.

Parquet filtering incorrect if left operand of binop is literal for != filter
2 participants