pub fn divide_dyn_opt(
    left: &dyn Array,
    right: &dyn Array
) -> Result<ArrayRef, ArrowError>
Expand description

Perform left / right operation on two arrays. If either left or right value is null then the result is also null.

If any right hand value is zero, the operation value will be replaced with null in the result.

Unlike divide_dyn or divide_dyn_checked, division by zero will get a null value instead returning an Err, this also doesn’t check overflowing, overflowing will just wrap the result around.