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

Wes McKinney resolved ARROW-6082.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15.0

Issue resolved by pull request 5041
[https://github.com/apache/arrow/pull/5041]

> [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
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to