pub fn as_interval_ym_array( array: &dyn Array, ) -> Result<&PrimitiveArray<IntervalYearMonthType>, DataFusionError>