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

   ### Describe the enhancement requested
   
   `VarCharWriter` only exposes methods for writing from an ArrowBuf. As with 
#37705, this means that to write a string in this API, you have to copy your 
string to a `byte[]`, then copy it to a new allocation, and then copy that 
again to the actual data buffer. The implementation already has methods for 
writing from a `Text`, so we should just expose that in the interface. It may 
also be useful to expose a method that takes a `String`, which would serialize 
it to a `Text` object inside the writer for you.
   
   ### Component(s)
   
   Java


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