vbhanuchander-lang commented on PR #17645:
URL: https://github.com/apache/iceberg/pull/17645#issuecomment-5611681773

   @findepi @amogh-jahagirdar you two merged the most recent Arrow 
vectorized-read fixes (#17017, #17296), so tagging you rather than leaving this 
unrouted.
   
   `VectorizedArrowReader` sizes variable-width vectors with 
`setInitialCapacity(byteCount)`, but Arrow's `setInitialCapacity` takes a 
*value count*, so the allocation is off by roughly the average value width — 
over-allocating for wide values and under-allocating and reallocating for 
narrow ones. The fix passes the value count and lets Arrow apply its own 
density factor (#17305).
   
   Small and contained to `arrow/`, CI green.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to