You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Jefffrey (via GitHub)" <gi...@apache.org> on 2026/07/29 10:26:08 UTC

[I] json: reading nulls into listview/runarray values when declared as not nullable should error [arrow-rs]

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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] json: reading nulls into listviewvalues when declared as not nullable should error [arrow-rs]

Posted by "Jefffrey (via GitHub)" <gi...@apache.org>.
Jefffrey closed issue #10476: json: reading nulls into listviewvalues when declared as not nullable should error
URL: https://github.com/apache/arrow-rs/issues/10476


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] json: reading nulls into listview/runarray values when declared as not nullable should error [arrow-rs]

Posted by "Jefffrey (via GitHub)" <gi...@apache.org>.
Jefffrey commented on issue #10476:
URL: https://github.com/apache/arrow-rs/issues/10476#issuecomment-5124535118

   - see https://github.com/apache/arrow-rs/issues/10478 for the runarray bug


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org