pub fn doy<T>(
array: &PrimitiveArray<T>,
) -> Result<PrimitiveArray<Int32Type>, ArrowError>where
T: ArrowTemporalType + ArrowNumericType,
<T as ArrowPrimitiveType>::Native: ArrowNativeType,
i64: From<<T as ArrowPrimitiveType>::Native>,
๐Deprecated since 51.0.0: Use
date_part
insteadExpand description
Extracts the day of year of a given temporal primitive array as an array of integers.
The day of year that ranges from 1 to 366