pub fn nanosecond(array: &dyn Array) -> Result<PrimitiveArray<u32>>
Available on crate feature compute_temporal only.
Expand description

Extracts the nanoseconds of a temporal array as PrimitiveArray<u32>. Use can_nanosecond to check if this operation is supported for the target DataType.