pub fn primitive_as_primitive<I, O>(
from: &PrimitiveArray<I>,
to_type: &ArrowDataType,
) -> PrimitiveArray<O>
Expand description
Cast PrimitiveArray
as a PrimitiveArray
Same as number as to_number_type
in rust
pub fn primitive_as_primitive<I, O>(
from: &PrimitiveArray<I>,
to_type: &ArrowDataType,
) -> PrimitiveArray<O>
Cast PrimitiveArray
as a PrimitiveArray
Same as number as to_number_type
in rust