[
https://issues.apache.org/jira/browse/ARROW-17657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603125#comment-17603125
]
Antoine Pitrou commented on ARROW-17657:
----------------------------------------
Also, you can easily compute the logical size of an imported buffer. The C++
implementation does this in ~40 lines of code:
https://github.com/apache/arrow/blob/ea382af7a996672305bde12a8b875741df6075f1/cpp/src/arrow/c/bridge.cc#L1529-L1566
> [C++] C data interface: Add field for byte length of buffers in ArrowArray
> --------------------------------------------------------------------------
>
> Key: ARROW-17657
> URL: https://issues.apache.org/jira/browse/ARROW-17657
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Affects Versions: 9.0.0
> Reporter: Hongze Zhang
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)