pub(crate) fn wrap_result<F>( f: F, ) -> impl Fn(&dyn Datum, &dyn Datum) -> Result<ArrayRef, String>where F: Fn(&dyn Datum, &dyn Datum) -> Result<ArrayRef>,