You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/06/14 00:27:00 UTC
[jira] [Resolved] (ARROW-9116) [C++] Add
BinaryArray::total_values_length()
[ https://issues.apache.org/jira/browse/ARROW-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kouhei Sutou resolved ARROW-9116.
---------------------------------
Resolution: Fixed
Issue resolved by pull request 7426
[https://github.com/apache/arrow/pull/7426]
> [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: 0.5h
> 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)