Skip to main content

from_arrow_primitive

Function from_arrow_primitive 

Source
pub fn from_arrow_primitive<T: ArrowPrimitiveType>(
    value: &PrimitiveArray<T>,
    nullable: bool,
) -> VortexResult<ArrayRef>
where T::Native: NativePType,
Expand description

Zero-copy conversion of an Arrow numeric primitive array into a Vortex array.

Use from_arrow_temporal for Arrow temporal arrays, which carry a logical dtype beyond their physical primitive storage.