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