[
https://issues.apache.org/jira/browse/ARROW-13612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-13612:
-------------------------------
Fix Version/s: 9.0.0
> [Python] Allow specifying a custom type for converting ExtensionScalar to
> python object
> ---------------------------------------------------------------------------------------
>
> Key: ARROW-13612
> URL: https://issues.apache.org/jira/browse/ARROW-13612
> Project: Apache Arrow
> Issue Type: Test
> Components: Python
> Reporter: Joris Van den Bossche
> Assignee: Rok Mihevc
> Priority: Major
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> As a follow-up on ARROW-13541
> (https://github.com/apache/arrow/pull/10904#discussion_r686609844), we could
> have a mechanism that the ExtensionType can control the behaviour of
> {{ExtensionScalar.as_py()}} method.
> Similarly as we have {{\_\_arrow_ext_class\_\_}} for using an ExtensionArray
> subclass for the array object, we could indeed have a way to specify a custom
> scalar wrapper.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)