You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joris Van den Bossche (JIRA)" <ji...@apache.org> on 2019/08/01 13:35:00 UTC

[jira] [Assigned] (ARROW-6082) [Python] create pa.dictionary() type with non-integer indices type crashes

     [ https://issues.apache.org/jira/browse/ARROW-6082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joris Van den Bossche reassigned ARROW-6082:
--------------------------------------------

    Assignee: Joris Van den Bossche

> [Python] create pa.dictionary() type with non-integer indices type crashes
> --------------------------------------------------------------------------
>
>                 Key: ARROW-6082
>                 URL: https://issues.apache.org/jira/browse/ARROW-6082
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Joris Van den Bossche
>            Assignee: Joris Van den Bossche
>            Priority: Major
>
> For example if you mixed the order of the indices and values type:
> {code}
> In [1]: pa.dictionary(pa.int8(), pa.string())                                                                                                                                                                      
> Out[1]: DictionaryType(dictionary<values=string, indices=int8, ordered=0>)
> In [2]: pa.dictionary(pa.string(), pa.int8())                                                                                                                                                                      
> WARNING: Logging before InitGoogleLogging() is written to STDERR
> F0731 14:40:42.748589 26310 type.cc:440]  Check failed: is_integer(index_type->id()) dictionary index type should be signed integer
> *** Check failure stack trace: ***
> Aborted (core dumped)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)