arrow_arith::bitwise

Function bitwise_or_scalar

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

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