ninglinLiu commented on code in PR #11905:
URL: https://github.com/apache/arrow-rs/pull/11905#discussion_r4372873407
##########
arrow-data/src/data.rs:
##########
@@ -2696,6 +2702,29 @@ mod tests {
assert!(build(1, 2, 0).is_ok());
}
+ #[test]
+ fn
test_fixed_size_list_validate_nulls_skips_expansion_without_child_nulls() {
Review Comment:
Good catch, thanks. The test now uses a non-nullable empty `Struct` child
with no null buffer (still `1 << 30` elements per list, no buffers allocated),
so the data is logically valid and `FixedSizeListArray::try_new` would accept
it. Updated in 8222b6c.
--
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]