[
https://issues.apache.org/jira/browse/ARROW-14999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17455057#comment-17455057
]
Joris Van den Bossche commented on ARROW-14999:
-----------------------------------------------
For list types we also had the inconsistency with the field names between
Parquet vs Arrow (but that's of course not between different implementation of
Arrow itself).
> [C++] List types with different field names are not equal
> ---------------------------------------------------------
>
> Key: ARROW-14999
> URL: https://issues.apache.org/jira/browse/ARROW-14999
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Affects Versions: 6.0.0
> Reporter: Will Jones
> Priority: Major
>
> When comparing map types, the names of the fields are ignored. This was
> introduced in ARROW-7173.
> However for list types, they are not ignored. For example,
> {code:python}
> In [6]: l1 = pa.list_(pa.field("val", pa.int64()))
> In [7]: l2 = pa.list_(pa.int64())
> In [8]: l1
> Out[8]: ListType(list<val: int64>)
> In [9]: l2
> Out[9]: ListType(list<item: int64>)
> In [10]: l1 == l2
> Out[10]: False
> {code}
> Should we make list type comparison ignore field names too?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)