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

[Plasma] Add higher level API for putting and getting Python objects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • Python
    • None

    Description

      Now that we can serialize Python objects in Arrow, let's include a slightly higher level API to the plasma Python bindings that exposes storing Python objects in Plasma (we also need this for Ray).

      The API I'd like to propose is very simple:

      def put(PlasmaClient client, value, object_id=None)

      Puts the Python object value into the store and returns the Object ID associated with it. If object_id is set, use that one instead of generating a random one.

      def get(PlasmaClient client, object_ids, timeout_ms=-1):

      Returns a list of Python objects represented by the Object IDs.

      Let me know if you have feedback or thoughts!

      Attachments

        Activity

          People

            pcmoritz Philipp Moritz
            pcmoritz Philipp Moritz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: