-
-
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
feat: Allow join_nulls
in asof join
#21172
base: main
Are you sure you want to change the base?
Conversation
0f67e22
to
98e0d1a
Compare
let left_by_bin = left_by_s.strict_cast(&DataType::Binary)?; | ||
let right_by_bin = right_by_s.strict_cast(&DataType::Binary)?; | ||
|
||
let left_by = left_by_bin.binary().unwrap(); | ||
let right_by = right_by_bin.binary().unwrap(); | ||
asof_join_by_binary::<BinaryType, T, A, F>( | ||
left_by, right_by, left_asof, right_asof, filter, allow_eq, join_nulls, | ||
) |
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.
Is there a better way to use asof_join_by_binary
with numerical types?
Or even better, is it easily possible to adjust asof_join_by_numeric
to work with nulls in the by
column?
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #21172 +/- ##
==========================================
+ Coverage 79.88% 79.89% +0.01%
==========================================
Files 1593 1593
Lines 227640 227671 +31
Branches 2600 2600
==========================================
+ Hits 181856 181906 +50
+ Misses 45187 45168 -19
Partials 597 597 ☔ View full report in Codecov by Sentry. |
b506297
to
8fd6f98
Compare
8fd6f98
to
0a97578
Compare
Fixes #17886: This PR introduces a
join_nulls
option to theby
part ofjoin_asof
.