pub fn binary_checked<T, D, F>(
    lhs: &PrimitiveArray<T>,
    rhs: &PrimitiveArray<D>,
    data_type: DataType,
    op: F
) -> PrimitiveArray<T> where
    T: NativeType,
    D: NativeType,
    F: Fn(T, D) -> Option<T>, 
Expand description

Version of binary that creates a mutable bitmap that is used to keep track of checked operations. The resulting bitmap is compared with the array bitmap to create the final validity array.