nbruno opened a new pull request #9581:
URL: https://github.com/apache/arrow/pull/9581


   This PR fixes a bug where appending an empty list vector fails with a 
`NullPointerException`. Instead of attempting to process the delta vector, we 
just return early with the unmodified target vector, since there is nothing to 
append to the target vector from the delta vector. In addition, it fixes cases 
where appending an empty delta vector would've caused the same NPE, or where 
it'd be an optimization to not attempt processing an empty delta vector. Unit 
tests are added for all supported `VectorAppender` vector types.


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

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


Reply via email to