-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Describe the bug
The force_validate check added in #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
#[cfg(not(feature = "force_validate"))]And then run the test like:
cargo test --features=force_validate -p arrowlines 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.
Reactions are currently unavailable