Function arrow_arith::temporal::hour_dyn

source ·
pub fn hour_dyn(array: &dyn Array) -> Result<ArrayRef, ArrowError>
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.