arrow_arith::temporal

Function hour_dyn

Source
pub fn hour_dyn(array: &dyn Array) -> Result<ArrayRef, ArrowError>
👎Deprecated since 51.0.0: Use date_part instead
Expand description

Extracts the hours of a given array as an array of integers within the range of [0, 23]. If the given array isn’t temporal primitive or dictionary array, an Err will be returned.