You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Philipp Moritz (JIRA)" <ji...@apache.org> on 2017/09/29 22:45:00 UTC

[jira] [Created] (ARROW-1625) [Serialization] Support OrderedDict properly

Philipp Moritz created ARROW-1625:
-------------------------------------

             Summary: [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


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)