pub fn as_run_array<T>( array: &dyn Array, ) -> Result<&RunArray<T>, DataFusionError>where T: RunEndIndexType,