pub fn try_cast(array: &dyn Array, dtype: &DType) -> VortexResult<ArrayRef>Expand description
Attempt to cast an array to a desired DType.
Some array support the ability to narrow or upcast.
pub fn try_cast(array: &dyn Array, dtype: &DType) -> VortexResult<ArrayRef>Attempt to cast an array to a desired DType.
Some array support the ability to narrow or upcast.