You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will fail with the following output: thread 'array::tests::test_null_union' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidArgumentError("Sparse union child array #1 has length smaller than expected for union array (0 < 4)")', arrow-array\src\array\mod.rs:852:45
Expected behavior
Producing a valid array
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
new_null_array
generates a union array that fails validation byArrayData::validate_full
.To Reproduce
Modify
test_null_union
as follows:This will fail with the following output:
thread 'array::tests::test_null_union' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidArgumentError("Sparse union child array #1 has length smaller than expected for union array (0 < 4)")', arrow-array\src\array\mod.rs:852:45
Expected behavior
Producing a valid array
Additional context
The text was updated successfully, but these errors were encountered: