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

Antoine Pitrou commented on ARROW-17538:
----------------------------------------

The main question is whether {{get_schema}} may be costly (i.e. do some IO). If 
not then it sounds fine.

> [C++] Importing an ArrowArrayStream can't handle errors from get_schema
> -----------------------------------------------------------------------
>
>                 Key: ARROW-17538
>                 URL: https://issues.apache.org/jira/browse/ARROW-17538
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 9.0.0
>            Reporter: David Li
>            Priority: Major
>
> As indicated in the code: 
> https://github.com/apache/arrow/blob/cd3c6ead97d584366aafd2f14d99a1cb8ace9ca2/cpp/src/arrow/c/bridge.cc#L1823
>  
> This probably needs a static initializer so we can catch things.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to