Jefffrey opened a new issue, #10476:
URL: https://github.com/apache/arrow-rs/issues/10476
### Describe the bug
see these tests
```rust
#[test]
fn test_list_view_child_not_nullable() {
let field = Arc::new(Field::new("item", DataType::Int32, false));
let data_type = DataType::ListView(field);
let schema = Arc::new(Schema::new(vec![Field::new("a", data_type,
true)]));
let json = r#"
{"a": [1, 2, 3]}
{"a": [4, null]}
{"a": null}
{"a": [6]}
{"a": []}
"#;
let _ = do_read(json, 1024, false, false, schema);
}
#[test]
fn test_run_end_child_not_nullable() {
let run_end = Arc::new(Field::new("run_end", DataType::Int16,
false));
let value = Arc::new(Field::new("value", DataType::Int32, false));
let data_type = DataType::RunEndEncoded(run_end, value);
let schema = Arc::new(Schema::new(vec![Field::new("a", data_type,
true)]));
let json = r#"
{"a": 1}
{"a": 1}
{"a": null}
{"a": 2}
"#;
let _ = do_read(json, 1024, false, false, schema);
}
```
they should both fail since we are reading nulls into their child arrays,
however they are currently succeeding
similar to https://github.com/apache/arrow-rs/issues/6391
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
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]