You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/11/30 12:41:00 UTC

[jira] [Resolved] (ARROW-6276) [C++] Add operator[] to some concrete Array implementations?

     [ https://issues.apache.org/jira/browse/ARROW-6276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou resolved ARROW-6276.
-----------------------------------
    Fix Version/s: 7.0.0
       Resolution: Fixed

Issue resolved by pull request 11694
[https://github.com/apache/arrow/pull/11694]

> [C++] Add operator[] to some concrete Array implementations?
> ------------------------------------------------------------
>
>                 Key: ARROW-6276
>                 URL: https://issues.apache.org/jira/browse/ARROW-6276
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Pradeep Garigipati
>            Priority: Major
>              Labels: good-first-issue, pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 5h
>  Remaining Estimate: 0h
>
> I have occasionally been in situations where I want to pass in e.g. {{Int32Array}} or {{BooleanArray}} into a template that also can accept STL sequence types like {{std::vector<bool>}} -- in such cases the main API of interest is {{[]}}. Would there be interest in aliasing {{operator[]}} to return the result of {{GetView}} (or to deprecate {{GetView}} in favor of {{operator[]}})?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)