[ https://issues.apache.org/jira/browse/ARROW-8364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17079301#comment-17079301 ]
Joris Van den Bossche commented on ARROW-8364: ---------------------------------------------- [~archybald] can you give a concrete code example? > [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)