Function datafusion::common::arrow::compute::year
pub fn year<T>(
array: &PrimitiveArray<T>
) -> Result<PrimitiveArray<Int32Type>, ArrowError>
Expand description
Extracts the years of a given temporal primitive array as an array of integers