[ 
https://issues.apache.org/jira/browse/ARROW-4800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846467#comment-16846467
 ] 

Micah Kornfield commented on ARROW-4800:
----------------------------------------

As long as we are bikeshedding, I think I ErrorOr or StatusOr are more 
understandable without looking at the class.

Agreed on trying to replace APIs, but I think this can be somewhat incremental 
as we developer higher level functionality we can go down the stack.  The nice 
thing is these APIs can live side by side since the method signature should 
always be different.

> [C++] Create/port a StatusOr implementation to be able to return a status or 
> a type
> -----------------------------------------------------------------------------------
>
>                 Key: ARROW-4800
>                 URL: https://issues.apache.org/jira/browse/ARROW-4800
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 0.14.0
>            Reporter: Micah Kornfield
>            Priority: Minor
>
> Example from grpc: 
> https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/stubs/statusor.h



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to