Hi all,
I have created a record batch of two arrays, did serialize it and copied that
buffer and pass it to plasma in C++.
I can deserialize that data to record batch from plasma correctly in C++.
recordBatch = arrow::RecordBatch::Make(schema, 2, {strArray, intArray});
arrow::ipc::SerializeRecordBatch(*recordBatch, arrow::default_memory_pool(),
&buffer)
//////////////////////////////////////////////////////////////////////////////////////////////////
std::shared_ptr<RecordBatch> batch_result;
io::BufferReader buf_reader(plasmaData);
arrow::ipc::ReadRecordBatch(schema, &buf_reader, &batch_result);
Now, I want to take that plasma data in Java to convert it back to record batch.
In Java, Iḿ able to get data in byte[] and then converts it to ArrowBuf but not
able to convert it back to record batch.
byte[] getValue = pLink.get(id1, timeoutMs, false);
ArrowBuf arrowBufData = buf(getValue);
Any help in this regard will be highly appreciated. Thanks.
Regards,
Tanveer Ahmad