alamb commented on issue #4835: URL: https://github.com/apache/arrow-rs/issues/4835#issuecomment-1724491909
I think it is a bug -- having `NullArray::is_null()` return `false` seems simply incorrect, as well as being very confusing. Practically it means we can't use `is_null` to check if an element is null -- instead we have to also special case `DataType::is_null` as @jonahgao did in https://github.com/apache/arrow-datafusion/pull/7568 Maybe the problem is that `NullArray::new(1)` doesn't set up the buffers correctly 🤔 -- 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]
