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

Wes McKinney commented on ARROW-6820:
-------------------------------------

I think we should have suggested names, but requiring certain names seems 
fraught. Since Map data might come from external sources (Spark, Parquet), I 
don't think it would be appropriate to overwrite the field names that might be 
used already in those sources. 

> [C++] [Doc] [Format] Map specification and implementation inconsistent
> ----------------------------------------------------------------------
>
>                 Key: ARROW-6820
>                 URL: https://issues.apache.org/jira/browse/ARROW-6820
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Documentation, Format
>            Reporter: Antoine Pitrou
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> In https://arrow.apache.org/docs/format/Layout.html#map-type, the map type is 
> specified as having a child field "pairs", itself with children "keys" and 
> "items".
> In https://github.com/apache/arrow/blob/master/format/Schema.fbs#L60, the map 
> type is specified as having a child field "entry", itself with children "key" 
> and "value".
> In the C++ implementation, a map type has a child field "entries", itself 
> with children "key" and "value".
> In the Java implementation, a map vector also has a child field "entries", 
> itself with children "key" and "value" (by default).



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

Reply via email to