You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Will Jones (Jira)" <ji...@apache.org> on 2022/06/15 13:10:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17554585#comment-17554585 ] 

Will Jones commented on ARROW-13612:
------------------------------------

Also: the ExtensionScalar Python class is not yet documented.

> [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
>
> 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.7#820007)