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 2022/07/06 19:27:00 UTC

[jira] [Resolved] (ARROW-13612) [Python] Allow specifying a custom type for converting ExtensionScalar to python object

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

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

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

> [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: 3h 20m
>  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)