You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/08/26 17:48:00 UTC

[jira] [Created] (ARROW-13770) [R] Add MapType and MapArray support to R bindings

Ian Cook created ARROW-13770:
--------------------------------

             Summary: [R] Add MapType and MapArray support to R bindings
                 Key: ARROW-13770
                 URL: https://issues.apache.org/jira/browse/ARROW-13770
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
            Reporter: Ian Cook


It would be nice if the R bindings included some support for [MapType|https://github.com/apache/arrow/blob/20885df121266a8519692c7630c98beb570f3b47/cpp/src/arrow/type.cc#L424] and [MapArray|https://github.com/apache/arrow/blob/71a57b156a077de29a879fd5627e366684c140ac/cpp/src/arrow/array/array_nested.cc#L283]. For example, when a _named_ R vector is converted to an Arrow Array, it would become a MapArray  instead of a ListArray, with the names as the keys and the values as the items.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)