Function arrow::compute::divide_dyn_checked
source · pub fn divide_dyn_checked(
left: &dyn Array,
right: &dyn Array
) -> Result<Arc<dyn Array + 'static>, 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 then the result of this
operation will be Err(ArrowError::DivideByZero)
.
This detects overflow and returns an Err
for that. For an non-overflow-checking variant,
use divide_dyn
instead.