pub fn to_arrow( array: &dyn Array, arrow_type: &DataType, ) -> VortexResult<ArrayRef>
Convert a Vortex array to an Arrow array of the given type.