Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4089

[Plasma] The tutorial is wrong regarding the parameter type of PlasmaClient.Create

    XMLWordPrintableJSON

Details

    Description

      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>.

      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));
      

      Attachments

        Issue Links

          Activity

            People

              sarutak Kousuke Saruta
              sarutak Kousuke Saruta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h