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