Function deltalake::arrow::compute::kernels::comparison::lt_eq_scalar

source ·
pub fn lt_eq_scalar<T>(
    left: &PrimitiveArray<T>,
    right: <T as ArrowPrimitiveType>::Native
) -> Result<BooleanArray, ArrowError>
👎Deprecated: Use arrow_ord::cmp::lt_eq
Expand description

Perform left <= right operation on a PrimitiveArray and a scalar value. Null values are less than non-null 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.