Function datafusion::common::arrow::compute::quarter_dyn

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

Extracts the quarter of a given temporal array as an array of integersa within the range of [1, 4]. If the given array isn’t temporal primitive or dictionary array, an Err will be returned.