You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/09/21 07:59:00 UTC

[jira] [Commented] (ARROW-14043) [Python] Add support for unsigned indexes in dictionary array?

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

Joris Van den Bossche commented on ARROW-14043:
-----------------------------------------------

Good catch, this was only relatively recently relaxed in the format spec, and implemeneted in C++ (https://github.com/apache/arrow/pull/7567, https://issues.apache.org/jira/browse/ARROW-9287). Seems we forgot to update a check in the python wrapper.



> [Python] Add support for unsigned indexes in dictionary array?
> --------------------------------------------------------------
>
>                 Key: ARROW-14043
>                 URL: https://issues.apache.org/jira/browse/ARROW-14043
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Jorge Leitão
>            Priority: Major
>
> I.e.
> {code:java}
> import pyarrow as pa
> pa.dictionary(pa.uint32(), pa.utf8())
> {code}
> it would be nice to have. 
> Related issue: https://github.com/pola-rs/polars/issues/1308



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