You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2025/06/12 09:35:27 UTC
[I] [C++] Add Status::OrElse [arrow]
pitrou opened a new issue, #46791:
URL: https://github.com/apache/arrow/issues/46791
### Describe the enhancement requested
In https://github.com/apache/arrow/pull/46711#discussion_r2139246309 it was mentioned that the macro `RETURN_NOT_OK_ELSE` is confusing and can easily be misunderstood.
Adding a `Status::OrElse` method that calls a functor on error would decouple both concerns, allowing more flexible idioms with `Status`.
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++] Add Status::OrElse [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #46791:
URL: https://github.com/apache/arrow/issues/46791#issuecomment-3018058165
Issue resolved by pull request 46792
https://github.com/apache/arrow/pull/46792
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++] Add Status::OrElse [arrow]
Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou closed issue #46791: [C++] Add Status::OrElse
URL: https://github.com/apache/arrow/issues/46791
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org