-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: Fix incorrect result from inequality filter after join on LazyFrame #19898
Conversation
05d687f
to
37b57a4
Compare
@@ -45,8 +45,7 @@ fn should_block_join_specific( | |||
// the join can produce null values | |||
// TODO! check if we can be less conservative here | |||
BinaryExpr { op, left, right } => match op { | |||
Operator::NotEq => LeftRight(false, false), |
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.
inequality had its own branch - I'm not sure why but I've removed it
@@ -62,7 +61,7 @@ fn should_block_join_specific( | |||
}, | |||
_ => join_produces_null(how), | |||
}, | |||
_ => LeftRight(false, false), | |||
_ => join_produces_null(how), |
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.
for catch-all we need to at least follow the join_produces_null
rule
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #19898 +/- ##
==========================================
- Coverage 79.43% 79.43% -0.01%
==========================================
Files 1554 1554
Lines 215611 215611
Branches 2452 2452
==========================================
- Hits 171278 171277 -1
- Misses 43775 43776 +1
Partials 558 558 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
2b6d34e
to
5ee8f61
Compare
Fixes #19772