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/07/31 12:42:00 UTC

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

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

             Summary: [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


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)