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

[jira] [Updated] (ARROW-15089) [C++] Add compute kernel to get MapArray value for given key

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

David Li updated ARROW-15089:
-----------------------------
    Labels: C++ Kernels beginner compute good-second-issue kernel  (was: C++ Kernels compute)

> [C++] Add compute kernel to get MapArray value for given key
> ------------------------------------------------------------
>
>                 Key: ARROW-15089
>                 URL: https://issues.apache.org/jira/browse/ARROW-15089
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 6.0.1
>            Reporter: Will Jones
>            Priority: Major
>              Labels: C++, Kernels, beginner, compute, good-second-issue, kernel
>
> Given a "map", an obvious operation is to get an item corresponding to a key. The idea here is to create a kernel that does this for each map in the array.
> IIRC MapArray isn't guaranteed to have unique keys. So one version would return an array of ItemType by returning the first of last item for a given key. Yet another version could return a ListType containing all matching items. 



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