cast

Function cast 

Source
pub(crate) fn cast<T: ArrowPrimitiveType>(array: &ArrayRef) -> Result<ArrayRef>