You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/04/07 21:01:00 UTC
[jira] [Updated] (ARROW-8364) [Python] Get Access to the
type_to_type_id dictionary
[ https://issues.apache.org/jira/browse/ARROW-8364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated ARROW-8364:
--------------------------------
Summary: [Python] Get Access to the type_to_type_id dictionary (was: Get Access to the type_to_type_id dictionary)
> [Python] Get Access to the type_to_type_id dictionary
> -----------------------------------------------------
>
> Key: ARROW-8364
> URL: https://issues.apache.org/jira/browse/ARROW-8364
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Or
> Priority: Trivial
> Labels: easyfix, performance
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Hi,
> h3. *The Problem:*
> Currently, if I try to serialize and it can't be serialized by the default serialization context I get
> SerializationCallbackError. So the problem is that I have to try to serialize the object in order to know if it is serializable by the package. That can be a very expensive operation for a simple check if the object contains a large amount of data.
>
> h3. *The* *Requested* *Improvement / Feature**:*
>
> A function that checks if the type of the object I'm about to serialize is serializable by the package (meaning it is registered under the type_to_type_id dictionary).
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)