Skip to content

[Python] C++ Extension Types aren't correctly exposed in pyarrow #33801

@sjperkins

Description

@sjperkins

Describe the bug, including details regarding any error messages, version, and platform.

Version: master branch (11.0.0)
Platform: Ubuntu 20.04

Neither __arrow_ext_class__ nor __arrow_ext_scalar_class__ are exposed on BaseExtensionType.

This results in the following sort of errors when trying to access a C++ ExtensionArray/ExtensionType from pyarrow:

AttributeError: 'pyarrow.lib.BaseExtensionType' object has no attribute '__arrow_ext_class__'

See the following, for example:

Component(s)

Python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions