sadboy commented on code in PR #5779:
URL: https://github.com/apache/arrow-rs/pull/5779#discussion_r1605285015
##########
arrow-array/src/array/fixed_size_list_array.rs:
##########
@@ -183,7 +183,8 @@ impl FixedSizeListArray {
|| nulls
.as_ref()
.map(|n| n.expand(size as _).contains(&a))
- .unwrap_or_default();
+ .unwrap_or_default()
+ || (nulls.is_none() && a.null_count() == 0);
Review Comment:
The `values` array could have a `NullBuffer` but no actual `null`s in it
(which happens when you safe-cast from a primitive array). This just accounts
for that case.
--
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]