interval_mdn_to_duration_ns

Function interval_mdn_to_duration_ns 

Source
fn interval_mdn_to_duration_ns(mdn: &IntervalMonthDayNano) -> Result<i64>
Expand description

If both the month and day fields of ScalarValue::IntervalMonthDayNano are zero, this function returns the nanoseconds part. Otherwise, it returns an error.