Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
op_ym_dt in datafusion::common::scalar - Rust
[go: Go Back, main page]

Function datafusion::common::scalar::op_ym_dt

source ·
pub fn op_ym_dt(lhs: i32, rhs: i64, sign: i32, commute: bool) -> i128
Expand description

This function adds/subtracts two “raw” intervals (lhs and rhs) of different types (IntervalYearMonthType and IntervalDayTimeType, 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.