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

ASF GitHub Bot updated ARROW-13855:
-----------------------------------
    Labels: pull-request-available  (was: )

> [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: 10m
>  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)

Reply via email to