[
https://issues.apache.org/jira/browse/ARROW-13855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou reassigned ARROW-13855:
--------------------------------------
Assignee: Antoine Pitrou
> [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
> Fix For: 6.0.0
>
>
> 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)