Jefffrey commented on code in PR #10748:
URL: https://github.com/apache/arrow-rs/pull/10748#discussion_r3813216601


##########
arrow-arith/src/arity.rs:
##########
@@ -270,11 +270,17 @@ where
     }
     let len = a.len();
 
-    if a.null_count() == 0 && b.null_count() == 0 {
+    // Physical nulls are not the whole story: a `RunArray` or 
`DictionaryArray` can have
+    // logical nulls in its values while its own null buffer is absent. 
`is_nullable` covers
+    // those, but is allowed to be conservative, so the union of the logical 
nulls can still
+    // be empty.

Review Comment:
   thanks i missed that



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