bit2swaz commented on PR #10798:
URL: https://github.com/apache/arrow-rs/pull/10798#issuecomment-5470496275

   the test passes on `arrow-array --features force_validate` because 
`arrow-array`'s `force_validate` feature is empty and doesnt forward to 
`arrow-data`. so `cfg!(feature = "force_validate")` inside 
`arrow-data::ArrayDataBuilder::build()` is false, validation is skipped, and 
main's outer `align_buffers()` fixes the misalignment before anything reads it
   
   the failure only shows up under `cargo test -p arrow --features 
force_validate,ffi` where `arrow`'s `force_validate` does forward to 
`arrow-data`. thats why the test is in `arrow/tests/ffi.rs` as its the only 
place where the ffi feature and `arrow-data/force_validate` are both active


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