Function arrow_arith::arithmetic::divide_dyn
source · pub fn divide_dyn(
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 then the result of this
operation will be Err(ArrowError::DivideByZero)
.
This doesn’t detect overflow. Once overflowing, the result will wrap around.
For an overflow-checking variant, use divide_dyn_checked
instead.