lidavidm opened a new issue, #254:
URL: https://github.com/apache/arrow-cookbook/issues/254

   While Arrow data inside Protobuf or another container is an antipattern, 
there are still reasonable reasons to have it. For instance, you might be 
adding Arrow data to an existing protocol, and not be able to add gRPC/Flight 
on the side.
   
   We should at least demonstrate the 'right' way to do it while showing why 
Flight would be preferable. It can be reasonably general, e.g. we can 
demonstrate reading out of a ByteBuffer and a byte[], and then show how to get 
those from a Protobuf (with the former being preferable to avoid copies). (Or 
we can demonstrate how to wrap 
[`List<ByteBuffer>`](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString#com_google_protobuf_ByteString_asReadOnlyByteBufferList__).
 Possibly we should put such a utility in the Arrow library itself.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to