arrow_arith::temporal

Function nanosecond

Source
pub fn nanosecond<T>(
    array: &PrimitiveArray<T>,
) -> Result<Int32Array, ArrowError>
where T: ArrowTemporalType + ArrowNumericType, i64: From<T::Native>,
👎Deprecated since 51.0.0: Use date_part instead
Expand description

Extracts the nanoseconds of a given temporal primitive array as an array of integers