fn min_max_over_time_batch( input: &[ColumnarValue], is_min: bool, func_name: &str, ) -> Result<ColumnarValue, DataFusionError>