You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/09/03 13:46:00 UTC

[jira] [Resolved] (ARROW-13855) [C++] [Python] Add support for exporting extension types

     [ https://issues.apache.org/jira/browse/ARROW-13855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Li resolved ARROW-13855.
------------------------------
    Resolution: Fixed

Issue resolved by pull request 11071
[https://github.com/apache/arrow/pull/11071]

> [C++] [Python] Add support for exporting extension types
> --------------------------------------------------------
>
>                 Key: ARROW-13855
>                 URL: https://issues.apache.org/jira/browse/ARROW-13855
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++, Python
>            Reporter: Jorge Leitão
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> It would be nice to be able to export extension fields and arrays, i.e.
> {code:python}
> 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)
> {code}
> would not raise
> {code:java}
> pyarrow.lib.ArrowNotImplementedError: Exporting extension<arrow.py_extension_type<UuidType>> array not supported
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)