arrow_arith::temporal

Function quarter

Source
pub fn quarter<T>(array: &PrimitiveArray<T>) -> Result<Int32Array, ArrowError>
👎Deprecated since 51.0.0: Use date_part instead
Expand description

Extracts the quarter of a given temporal primitive array as an array of integers within the range of [1, 4].