You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2020/07/09 20:46:00 UTC
[jira] [Comment Edited] (ARROW-9394) [Python] Support pickling of
Scalars
[ https://issues.apache.org/jira/browse/ARROW-9394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17154919#comment-17154919 ]
Joris Van den Bossche edited comment on ARROW-9394 at 7/9/20, 8:45 PM:
-----------------------------------------------------------------------
> Could this be as implemented with Scalar, (self.type, self.as_py())?
Not all types support this type of roundtrip. At least dictionary type comes to mind: ARROW-9369 (not sure if there are others, though)
But if it is the only one, it also shouldn't be hard to have a custom reduce for only the DictionaryScalar I think
was (Author: jorisvandenbossche):
> Could this be as implemented with Scalar, (self.type, self.as_py())?
Not all types support this type of roundtrip. At least dictionary type comes to mind: ARROW-9369 (not sure if there are others, though)
> [Python] Support pickling of Scalars
> ------------------------------------
>
> Key: ARROW-9394
> URL: https://issues.apache.org/jira/browse/ARROW-9394
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Ben Kietzman
> Assignee: Krisztian Szucs
> Priority: Major
> Fix For: 2.0.0
>
>
> Scalars don't currently support pickling.
> Could this be as implemented with {{Scalar, (self.type, self.as_py())}}?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)