You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/31 03:04:23 UTC

[GitHub] [arrow] edponce commented on pull request #12036: ARROW-15194: [C++] Combine ChunkedArray constructors

edponce commented on pull request #12036:
URL: https://github.com/apache/arrow/pull/12036#issuecomment-1003249653


   @pitrou I noticed that [Python's `ChunkedArray` "constructor" performs the type/size check and validates that all chunks are of the same type](https://github.com/apache/arrow/blob/master/python/pyarrow/table.pxi#L529-L546). Basically, the same behavior as if going through `XXX::Make()`. And then it [invokes C++ constructor](https://github.com/apache/arrow/blob/master/python/pyarrow/table.pxi#L555) which in turn also performs the type/size checks.
   Why doesn't Python builds on top of C++ error handling?


-- 
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