prashanthbdremio opened a new pull request, #1229:
URL: https://github.com/apache/arrow-java/pull/1229

   ## What's Changed
   
   Preserve the required one-entry offset buffer for empty `ListVector` and 
`LargeListVector` instances when setting value count and when 
splitting/transferring zero values. This keeps empty list vectors aligned with 
the Arrow offset-buffer invariant and avoids exposing buffers whose writer 
index exceeds capacity.
   
   Adds regression coverage for allocated, unallocated, split-and-transfer, and 
nested empty list vectors.
   
   Closes #1194.
   
   Tests:
   - `mvn -pl vector -am -P=-error-prone -Dmaven.gitcommitid.skip=true 
-Dsurefire.failIfNoSpecifiedTests=false 
-Dtest=TestSplitAndTransfer,TestListVector,TestLargeListVector test`
   - `mvn -P=-error-prone -Dmaven.gitcommitid.skip=true test`


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