[Python] Python: pa.array constructor does not retain ordered attribute for dictionary type
Open
Component: Python
Type: bug
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the bug, including details regarding any error messages, version, and platform.
```
>>> pa.__version__
'15.0.1'
>>> dicttyp = pa.dictionary(pa.int8(), pa.string(), ordered=True)
>>> dicttyp
DictionaryType(dictionary)
>>> pa.array(["foo", "bar", "foo"], dicttyp).type
DictionaryType(dictionary)
```
### Component(s)
Python
Contributor guide
Assessment
This issue has not been assessed yet.