Mola-maker commented on issue #12395:
URL: https://github.com/apache/arrow-rs/issues/12395#issuecomment-7134100367

   > > Maybe we could help that by offering some examples of how to build 
arrays without the builder (probably faster anyways) via `unsafe` 
`MapArray::new()` 🤔 
   > 
   > yeah im mainly just looking to plug our usages of unsafe; we already have 
quite a bit, so trying to ensure they are actually safe, since we see in this 
case its not. in regular usage i dont think users would encounter this 
reproduction
   
   The checks are O(1): append/append_nulls compare the new offset against the 
last one, and finish only checks that the last offset is within the child 
arrays.


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