Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
year in datafusion::common::arrow::compute - Rust
[go: Go Back, main page]

Function datafusion::common::arrow::compute::year

pub fn year<T>(
    array: &PrimitiveArray<T>
) -> Result<PrimitiveArray<Int32Type>, ArrowError>where
    T: ArrowTemporalType + ArrowNumericType,
    i64: From<<T as ArrowPrimitiveType>::Native>,
Expand description

Extracts the years of a given temporal primitive array as an array of integers