Function arrow2::compute::arithmetics::time::sub_timestamps_scalar
source · [−]pub fn sub_timestamps_scalar(
lhs: &PrimitiveArray<i64>,
rhs: &PrimitiveScalar<i64>
) -> Result<PrimitiveArray<i64>>
Expand description
Calculates the difference between two timestamps as DataType::Duration
with the same time scale.