Function datafusion::common::arrow::compute::week_dyn
pub fn week_dyn(array: &dyn Array) -> Result<Arc<dyn Array>, ArrowError>
Expand description
Extracts the week of a given temporal array as an array of integers.
If the given array isn’t temporal primitive or dictionary array,
an Err
will be returned.