codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-4089) [Plasma] The tutorial is wrong regarding the parameter type of PlasmaClient.Create


Kousuke Saruta created ARROW-4089:
-------------------------------------

             Summary: [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


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)