Add boolean comparison to scalar kernels for less then, greater than #959
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We are implementing general purpose implementations of
<
,<=
,>
, and>=
in DataFusion -- see apache/datafusion#1163DataFusion uses different implementations if the left or right sides are scalar values vs if the left or right sides are both arrays.
Arrow has the
lt_bool
,lt_eq_bool
,gt_bool
, andgt_eq_bool
kernels 🎉 added in #860 by @jimexist see docs forlt_bool
However, it does not have corresponding
scalar
variants, so I implemented simple versions in DataFusion to get the feature but they are not as optimized as they could be.Describe the solution you'd like
Implement optimized kernels of
lt_bool_scalar
,lt_eq_bool_scalar
gt_bool_scalar
,gt_eq_bool_scalar
Simple versions are implemented in apache/datafusion#1163. The optimized versions should follow the pattern demonstrated in @Dandandan 's pr for
eq_bool
#844 -- namely doing the comparisons in 64-bit chunks when possible.The text was updated successfully, but these errors were encountered: