alamb opened a new issue, #1548:
URL: https://github.com/apache/arrow-rs/issues/1548

   **Describe the bug**
   The `force_validate` check added in 
https://github.com/apache/arrow-rs/pull/1546 reveals that some array created as 
part of `projection_should_work` test fails validation. 
   
   It is not clear if the validation is incorrect or something about ipc
   
   **To Reproduce**
   Uncomment the
   ```rust
       #[cfg(not(feature = "force_validate"))]
   ``` 
   
   And then run the test like:
   ```shell
   cargo test --features=force_validate -p arrow
   ```
   
   lines for the following tests and the will fail:
   
   ```
   ---- ipc::reader::tests::projection_should_work stdout ----
   thread 'ipc::reader::tests::projection_should_work' panicked at 'called 
`Result::unwrap()` on an `Err` value: InvalidArgumentError("Last offset 
251658240 of List(Field { name: \"item\", data_type: Int32, nullable: true, 
dict_id: 0, dict_is_ordered: false, metadata: None }) is larger than values 
length 15")', arrow/src/array/data.rs:301:34
   
   ```
   
   **Expected behavior**
   The tests should pass when force_validate is on
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
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]

Reply via email to