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

Wes McKinney resolved ARROW-6345.
---------------------------------
    Resolution: Fixed

Resolved in 
https://github.com/apache/arrow/commit/fcc7fcef27cd94071d2f9cf5c649ce7ea670c6d2

> [C++][Python] "ordered" flag seemingly not taken into account when comparing 
> DictionaryType values for equality
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-6345
>                 URL: https://issues.apache.org/jira/browse/ARROW-6345
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>             Fix For: 0.15.0
>
>
> Observed on Python 2.7
> {code}
> (Pdb) x[0].type
> DictionaryType(dictionary<values=binary, indices=int32, ordered=0>)
> (Pdb) x.schema[0].type
> DictionaryType(dictionary<values=binary, indices=int32, ordered=1>)
> (Pdb) x[0].type.equals(x.schema[0].type)
> True
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to