John-W-Lewis opened a new issue, #1142:
URL: https://github.com/apache/arrow-java/issues/1142

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   A recent change in VectorSchemaRoot#addVector provided a simple improvement, 
but completely misses a major shortcoming of this routine and, almost 
certainly, others like it.
   
   One cannot simply change `FieldVector`s belonging to `VectorSchemaRoot`s by 
simply rearranging the elements of their `List`s without considering the 
ownership of their underlying buffers. This can cause various problems, 
particularly when `VectorSchemaRoot`s are closed. This is why `TransferPair` 
exists.
   
   I would probably need some help with improving this as I'm quite new to 
using Apache Arrow (and very new to using GitHub). But I have written a 
possibly improved implementation if this would be of interest and would be open 
to collaborating on rectifying this bug.


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