arrow_arith::numeric

Function sub_wrapping

Source
pub fn sub_wrapping(
    lhs: &dyn Datum,
    rhs: &dyn Datum,
) -> Result<ArrayRef, ArrowError>
Expand description

Perform lhs - rhs, wrapping on overflow for DataType::is_integer