arrow::compute::kernels::temporal

Function doy_dyn

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

Extracts the day of year of a given temporal array as an array of integers.

The day of year that ranges from 1 to 366. If the given array isn’t temporal primitive or dictionary array, an Err will be returned.