You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/12 14:39:29 UTC

[GitHub] [arrow-rs] alamb opened a new issue, #1548: Output of `ipc::reader::tests::projection_should_work` fails validation

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

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


[GitHub] [arrow-rs] Dandandan closed issue #1548: Output of `ipc::reader::tests::projection_should_work` fails validation

Posted by GitBox <gi...@apache.org>.
Dandandan closed issue #1548: Output of `ipc::reader::tests::projection_should_work` fails validation
URL: https://github.com/apache/arrow-rs/issues/1548


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