Skip to content

AwkwardArrowArray.to_pylist() is incompatible with Arrow 20.0.0-rc2 #3483

@tobim

Description

@tobim

Version of Awkward Array

2.8.1

Description and code to reproduce

    out = super().to_pylist()
        __class__  = <class 'awkward._connect.pyarrow.extn_types.AwkwardArrowArray'>
        self       = <awkward._connect.pyarrow.extn_types.AwkwardArrowArray object at 0x7fff55a020b0>
[
  [
    1.1,
    2.2,
    3.3
  ],
  [],
  [
    4.4,
    5.5
  ]
]
pyarrow/array.pxi:1775: in pyarrow.lib.Array.to_pylist
    ???
pyarrow/scalar.pxi:1332: in pyarrow.lib.ExtensionScalar.as_py
    ???
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   TypeError: AwkwardArrowArray.to_pylist() got an unexpected keyword argument 'maps_as_pydicts'

The maps_as_pydicts parameter was added in apache/arrow#45471.

Metadata

Metadata

Assignees

Labels

bugThe problem described is something that must be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions