pub fn primitive_to_primitive<I, O>(
from: &PrimitiveArray<I>,
to_type: &ArrowDataType,
) -> PrimitiveArray<O>
Expand description
Cast PrimitiveArray
to a PrimitiveArray
of another physical type via numeric conversion.
pub fn primitive_to_primitive<I, O>(
from: &PrimitiveArray<I>,
to_type: &ArrowDataType,
) -> PrimitiveArray<O>
Cast PrimitiveArray
to a PrimitiveArray
of another physical type via numeric conversion.