Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] [Python] Add support for exporting extension types #29476

Closed
asfimport opened this issue Sep 1, 2021 · 1 comment
Closed

[C++] [Python] Add support for exporting extension types #29476

asfimport opened this issue Sep 1, 2021 · 1 comment

Comments

@asfimport
Copy link
Collaborator

It would be nice to be able to export extension fields and arrays, i.e.

import pyarrow

class UuidType(pyarrow.PyExtensionType):
    def __init__(self):
        super().__init__(pyarrow.binary(16))

    def __reduce__(self):
        return UuidType, ()

field = pyarrow.field("aa", UuidType())
field._export_to_c(pointer)

would not raise

pyarrow.lib.ArrowNotImplementedError: Exporting extension<arrow.py_extension_type<UuidType>> array not supported

Reporter: Jorge Leitão / @jorgecarleitao
Assignee: Antoine Pitrou / @pitrou

PRs and other links:

Note: This issue was originally created as ARROW-13855. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

David Li / @lidavidm:
Issue resolved by pull request 11071
#11071

@asfimport asfimport added this to the 6.0.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants