phillipleblanc commented on code in PR #7436: URL: https://github.com/apache/arrow-rs/pull/7436#discussion_r2080690194
########## arrow-array/src/array/struct_array.rs: ########## @@ -146,7 +146,9 @@ impl StructArray { if !f.is_nullable() { if let Some(a) = a.logical_nulls() { - if !nulls.as_ref().map(|n| n.contains(&a)).unwrap_or_default() { + if a.null_count() > 0 + && !nulls.as_ref().map(|n| n.contains(&a)).unwrap_or_default() Review Comment: Yes, I will change this. Thanks for catching. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org