pub fn gt_scalar<T>(
left: &PrimitiveArray<T>,
right: <T as ArrowPrimitiveType>::Native,
) -> Result<BooleanArray, ArrowError>
๐Deprecated: Use arrow_ord::cmp::gt
Expand description
Perform left > right
operation on a PrimitiveArray
and a scalar value.
Non-null values are greater than 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
.