[ https://issues.apache.org/jira/browse/ARROW-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-9116: ---------------------------------- Labels: pull-request-available (was: ) > [C++] Add BinaryArray::total_values_length() > -------------------------------------------- > > Key: ARROW-9116 > URL: https://issues.apache.org/jira/browse/ARROW-9116 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Antoine Pitrou > Assignee: Wes McKinney > Priority: Minor > Labels: pull-request-available > Fix For: 1.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > It's often useful to compute the total data size of a binary array. > Sample implementation: > {code:c++} > int64_t total_values_length() const { > return raw_value_offsets_[length() + data_->offset] - > raw_value_offsets_[data_->offset]; > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)