You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/06/12 13:34:00 UTC
[jira] [Created] (ARROW-9116) [C++] Add
BinaryArray::total_values_length()
Antoine Pitrou created ARROW-9116:
-------------------------------------
Summary: [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
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)