[
https://issues.apache.org/jira/browse/ARROW-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Kietzman updated ARROW-9116:
--------------------------------
Priority: Minor (was: Major)
> [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
> Priority: Minor
> Fix For: 1.0.0
>
>
> 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)