tustvold commented on issue #4835:
URL: https://github.com/apache/arrow-rs/issues/4835#issuecomment-1724517559

   > Therefore shouldn't Array::is_null return null for all values in a 
NullArray because all the values are null. 🤔
   
   The problem is doing this would be inconsistent with the values returned by 
`Array::nulls()`, so the following would not hold
   
   ```
   assert_eq!(array.nulls().is_some_and(|n| n.is_null(idx)), 
array.is_null(idx));
   ```


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