fn concat_primitives<T: ArrowPrimitiveType>( arrays: &[&dyn Array], ) -> Result<ArrayRef, ArrowError>