[ 
https://issues.apache.org/jira/browse/ARROW-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873499#comment-16873499
 ] 

Francois Saint-Jacques commented on ARROW-5745:
-----------------------------------------------

Just note that for PrimitiveArray, it doesn't even return the same type 
(Buffer* instead of Array*).

> [C++] properties of Map(Array|Type) are confusingly named
> ---------------------------------------------------------
>
>                 Key: ARROW-5745
>                 URL: https://issues.apache.org/jira/browse/ARROW-5745
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Benjamin Kietzman
>            Assignee: Benjamin Kietzman
>            Priority: Major
>
> In the context of ListArrays, "values" indicates the elements in a slot of 
> the ListArray. Since MapArray isa ListArray, "values" indicates the same 
> thing and the elements are key-item pairs. This naming scheme is not 
> idiomatic; these *should* be called key-value pairs but that would require 
> propagating the renaming down to ListArray.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to