arrow_arith::temporal

Function nanosecond_dyn

Source
pub fn nanosecond_dyn(array: &dyn Array) -> Result<ArrayRef, ArrowError>
👎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. If the given array isn’t temporal primitive or dictionary array, an Err will be returned.