Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-1625

[Serialization] Support OrderedDict properly

    Details

      Description

      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 https://github.com/ray-project/ray/issues/1034.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pcmoritz Philipp Moritz
                Reporter:
                pcmoritz Philipp Moritz
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: