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

   I don't understand what "is not nullable, its values are just null" means. 
   
   https://arrow.apache.org/docs/format/Columnar.html#null-layout says
   
   > "We provide a simplified memory-efficient layout for the Null data type 
where all values are null. In this case no memory buffers are allocated."
   
   The  arrow-rs 
https://docs.rs/arrow/latest/arrow/array/trait.Array.html#method.is_null says
    says
   
   > Returns whether the element at index is null. 
   
   Therefore shouldn't `Array::is_null` return null for all values in a 
`NullArray` because all the values are null. 🤔  
   
   I didn't find anything contradicting this position in the .fbs format
   
https://github.com/apache/arrow/blob/440dc92caa73ca67c8ca98cebfb74f33788150bf/format/Schema.fbs#L82-L83
   
   


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