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
import pyarrow
import collections
d = collections.OrderedDict([("hello", 1), ("world", 2)])
type(pyarrow.serialize(d).deserialize())
which will return "dict". See also ray-project/ray#1034.
Reporter: Philipp Moritz / @pcmoritz
Assignee: Philipp Moritz / @pcmoritz
PRs and other links:
Note: This issue was originally created as ARROW-1625. Please see the migration documentation for further details.
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
which will return "dict". See also ray-project/ray#1034.
Reporter: Philipp Moritz / @pcmoritz
Assignee: Philipp Moritz / @pcmoritz
PRs and other links:
Note: This issue was originally created as ARROW-1625. Please see the migration documentation for further details.