pub fn year<T>(array: &PrimitiveArray<T>) -> Result<Int32Array, ArrowError>
👎Deprecated since 51.0.0: Use
date_part
insteadExpand description
Extracts the years of a given temporal primitive array as an array of integers
pub fn year<T>(array: &PrimitiveArray<T>) -> Result<Int32Array, ArrowError>
date_part
insteadExtracts the years of a given temporal primitive array as an array of integers