Closed
Description
Describe the bug
Calling concat
on StructArrays with no fields will always error
To Reproduce
fn concat_empty_structs() {
let s1 = StructArray::new_empty_fields(10, None);
let s2 = StructArray::new_empty_fields(10, None);
// This will currently panic
let arr = concat(&[&s1, &s2]).unwrap();
}
Expected behavior
Return a struct array with no fields and the correct nulls and length.
Additional context