[
https://issues.apache.org/jira/browse/ARROW-4089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney resolved ARROW-4089.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.12.0
Issue resolved by pull request 3235
[https://github.com/apache/arrow/pull/3235]
> [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: Plasma (C++)
> 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
(v7.6.3#76005)