Function datafusion_common::scalar::op_ym_mdn
source · pub fn op_ym_mdn(lhs: i32, rhs: i128, sign: i32, commute: bool) -> i128Expand description
This function adds/subtracts two “raw” intervals (lhs and rhs) of different
types (IntervalYearMonthType and IntervalMonthDayNanoType, respectively).
The argument sign chooses between addition and subtraction, the argument
commute swaps lhs and rhs. The return value is an 128-bit integer.
It can be involved in a IntervalMonthDayNanoType in the outer scope.