pitrou opened a new issue, #48922:
URL: https://github.com/apache/arrow/issues/48922

   ### Describe the enhancement requested
   
   Currently, `Result<T>::Map` can take any callable that returns a `U` or 
`Result<U>`, with one exception: it cannot return `Status`, because `Map` then 
tries to wrap it in `Result<Status>` and that is forbidden.
   
   Instead, of the callable returns a `Status`, then `Result<T>::Map` itself 
should also simply return a `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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to