Jefffrey commented on PR #9275:
URL: https://github.com/apache/arrow-rs/pull/9275#issuecomment-3803662451
Thanks for volunteering to pick up this issue. I'm concerned this doesn't
properly address the root cause; for example this case would also fail:
```rust
#[test]
fn test_nested_null_list() {
let null_array = Arc::new(NullArray::new(3));
// [[NULL], [], [NULL, NULL]]
let list: ArrayRef = Arc::new(ListArray::new(
Field::new_list_field(DataType::Null, true).into(),
OffsetBuffer::from_lengths(vec![1, 0, 2]),
null_array,
None,
));
let converter =
RowConverter::new(vec![SortField::new(list.data_type().clone())]).unwrap();
let rows = converter.convert_columns(&[Arc::clone(&list)]).unwrap();
let back = converter.convert_rows(&rows).unwrap();
assert_eq!(&list, &back[0]);
}
```
Can check my comments on the original issue to perhaps try do deeper/root
cause fix.
--
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]