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

Rok Mihevc commented on ARROW-4089:
-----------------------------------

This issue has been migrated to [issue 
#20682|https://github.com/apache/arrow/issues/20682] on GitHub. Please see the 
[migration documentation|https://github.com/apache/arrow/issues/14542] for 
further details.

> [Plasma] The tutorial is wrong regarding the parameter type of 
> PlasmaClient.Create 
> -----------------------------------------------------------------------------------
>
>                 Key: ARROW-4089
>                 URL: https://issues.apache.org/jira/browse/ARROW-4089
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++ - Plasma
>    Affects Versions: 0.12.0
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.12.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Plasma's tutorial says that the data type of one parameter is address of 
> uint8_t* but it's actually address of shared_ptr<Buffer>.
> {code}
> uint8_t* data;                <------------------------------- wrong data 
> type here.
>  // Create a Plasma object by specifying its ID and size.
>  ARROW_CHECK_OK(client.Create(object_id, data_size, NULL, 0, &data));
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to