Function datafusion_common::scalar::op_ym
source · pub fn op_ym(lhs: i32, rhs: i32, sign: i32) -> i32Expand description
This function adds/subtracts two “raw” intervals (lhs and rhs) of
the same type IntervalYearMonthType. The argument sign chooses between
addition and subtraction. The return value is an 32-bit integer. It can be
involved in a IntervalYearMonthType in the outer scope.