arrow_arith::bitwise

Function bitwise_shift_right_scalar

Source
pub fn bitwise_shift_right_scalar<T>(
    array: &PrimitiveArray<T>,
    scalar: T::Native,
) -> Result<PrimitiveArray<T>, ArrowError>
where T: ArrowNumericType, T::Native: WrappingShr<Output = T::Native>,
Expand description

Perform bitwise left >> right every value in an array with the scalar. If any value in the array is null then the result is also null.