alamb commented on issue #6528:
URL: https://github.com/apache/arrow-rs/issues/6528#issuecomment-3725538793

   > I read through the thread and I get the safety concern regarding 
DictionaryArray and unmasking null slots. To avoid hitting any UB or reading 
garbage data, I’m planning to implement with_nulls using a subset invariant 
check.
   
   Maybe we can add a safe API that validates the new null mask doesn't unmask 
any new elements, and an unsafe API that bypasses the check


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