Function arrow::compute::kernels::comparison::eq_dyn_scalar
source ยท pub fn eq_dyn_scalar<T>(
left: &dyn Array,
right: T,
) -> Result<BooleanArray, ArrowError>where
T: ToPrimitive + Debug,
๐Deprecated: Use arrow_ord::cmp::eq
Expand description
Perform left == right
operation on an array and a numeric scalar
value. Supports PrimitiveArrays, and DictionaryArrays that have primitive values.
For floating values like f32 and f64, this comparison produces an ordering in accordance to
the totalOrder predicate as defined in the IEEE 754 (2008 revision) floating point standard.
Note that totalOrder treats positive and negative zeros are different. If it is necessary
to treat them as equal, please normalize zeros before calling this kernel.
Please refer to f32::total_cmp
and f64::total_cmp
.