arrow_arith::bitwise

Function bitwise_shift_left_scalar

Source
pub fn bitwise_shift_left_scalar<T>(
    array: &PrimitiveArray<T>,
    scalar: T::Native,
) -> Result<PrimitiveArray<T>, ArrowError>
where T: ArrowNumericType, T::Native: WrappingShl<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.