jordepic opened a new issue, #1179:
URL: https://github.com/apache/arrow-java/issues/1179

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When appending a variable width vector to another in Java, it computes the 
size of the currently appended vector by just taking its end offset. It never 
subtracts the start offset because the majority of start offsets are 0. 
However, if another language slices a buffer and passes it to Java, it may have 
a non zero starting offset. This causes us to drastically overestimate the 
amount of memory to allocate and can cause errors downstream.


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