Skip to content

[Python] Python: pa.array constructor does not retain ordered attribute for dictionary type #41017

Open

Description

@WillAyd

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<values=string, indices=int8, ordered=1>)
>>> pa.array(["foo", "bar", "foo"], dicttyp).type
DictionaryType(dictionary<values=string, indices=int8, ordered=0>)

Component(s)

Python

Activity

  1. added 8 commits that reference this issue on Apr 19, 2026
  2. changed the title [-]Python: pa.array constructor does not retain ordered attribute for dictionary type[/-] [+][Python] Python: pa.array constructor does not retain ordered attribute for dictionary type[/+] on Apr 26, 2026
  3. added a commit that references this issue on Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions