midnattsol commented on issue #6727:
URL: https://github.com/apache/arrow-rs/issues/6727#issuecomment-2506399139

   > The other possibly reasonable fix is that the null take indices should 
turn the StructArray's null buffer, rather than the null buffers of each of the 
fields.
   
   The issue I see with this approach is that managing nulls at the 
StructArray's null buffer, but not in the null buffers of each of the fields, 
can lead to uninitialized or default values in those fields. So, if someone 
tries to access those values using `column_by_name` without checking the 
StructArray's null bitmap, they could encounter unexpected behavior, right?


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