You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2017/08/26 23:05:02 UTC

[jira] [Commented] (ARROW-1412) [Plasma] Add higher level API for putting and getting Python objects

    [ https://issues.apache.org/jira/browse/ARROW-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142965#comment-16142965 ] 

Wes McKinney commented on ARROW-1412:
-------------------------------------

Sounds good to me. We can refine the API during code review once we have a first implementation

> [Plasma] Add higher level API for putting and getting Python objects
> --------------------------------------------------------------------
>
>                 Key: ARROW-1412
>                 URL: https://issues.apache.org/jira/browse/ARROW-1412
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Philipp Moritz
>
> 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!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)