jduo opened a new pull request, #37791:
URL: https://github.com/apache/arrow/pull/37791

   ### Rationale for this change
   ByteBuffer and byte[] are commonly used to hold binary data. The current 
writers require working
   with ArrowBuf objects which need to be populated by copying from these 
types, then copying
   into the vector.
   
   ### What changes are included in this PR?
   Add methods to VarBinary and LargeVarBinary writers to take in common binary 
parameters - byte[] and ByteBuffer.
   The writer now sets these objects on the Vectors directly.
   
   ### Are these changes tested?
   Yes.
   


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