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

Dimitri Vorona edited comment on ARROW-2274 at 3/6/18 1:51 PM:
---------------------------------------------------------------

Could you provide your code?

{{ plasma::ObjectID object_id = 
plasma::ObjectID::from_binary("aaaaaaaaaaaaaaaaaaaa");}}

works fine for me.


was (Author: alendit):
Could you provide your code?

{{ plasma::ObjectID object_id = 
plasma::ObjectID::from_binary("aaaaaaaaaaaaaaaaaaaa");}}

works fine for me. With std::string you'd use c_str().

> ObjectID from string
> --------------------
>
>                 Key: ARROW-2274
>                 URL: https://issues.apache.org/jira/browse/ARROW-2274
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Eric Feldman
>            Priority: Critical
>
> I want to have ObjectID from string.
> The Problem is that if I'm creating new ObjectID from a string and inserting 
> value associated with that id, the next time I will generate ObjectID from 
> that string, the is different.
> I'm looking for something like Key-Value store, is it possible?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to