[ https://issues.apache.org/jira/browse/ARROW-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187605#comment-16187605 ]
ASF GitHub Bot commented on ARROW-1625: --------------------------------------- Github user wesm commented on the issue: https://github.com/apache/arrow/pull/1152 Is cloudpickle only non-optional in unit tests? Why not `pytest.importorskip` in those tests? > [Serialization] Support OrderedDict properly > -------------------------------------------- > > Key: ARROW-1625 > URL: https://issues.apache.org/jira/browse/ARROW-1625 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Reporter: Philipp Moritz > Labels: pull-request-available > > At the moment what happens when we serialize an OrderedDict and then > deserialize it, it will become a normal dict! This can be reproduced with > {code} > import pyarrow > import collections > d = collections.OrderedDict([("hello", 1), ("world", 2)]) > type(pyarrow.serialize(d).deserialize()) > {code} > which will return "dict". See also > https://github.com/ray-project/ray/issues/1034. -- This message was sent by Atlassian JIRA (v6.4.14#64029)