[
https://issues.apache.org/jira/browse/ARROW-9997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196186#comment-17196186
]
Joris Van den Bossche commented on ARROW-9997:
----------------------------------------------
Personnally, I think moving away from the mapping API is quite a usability
regression. Would it be a possibility to still provide that as the default, but
have a alternative way to get a field by position?
(in a similar way, Table and Schema also work like that, they raise when
getting a field by name and the name is duplicated, but you still can get a
field by name)
> [Python] StructScalar.as_py() fails if the type has duplicate field names
> -------------------------------------------------------------------------
>
> Key: ARROW-9997
> URL: https://issues.apache.org/jira/browse/ARROW-9997
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Krisztian Szucs
> Assignee: Krisztian Szucs
> Priority: Major
> Fix For: 2.0.0
>
>
> {{StructScalar}} currently extends an abstract Mapping interface. Since the
> type allows duplicate field names we cannot provide that API.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)