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

   **Describe the bug**
   
   The handling of null masks in the ArrayData comparisons does not take into 
account the ArrayData offset, leading to incorrect results.
   
   **To Reproduce**
   
   ```
   #[test]
   fn test_offset() {
       let a = Int32Array::from(vec![Some(1), Some(2), None, Some(0)]);
       let b = Int32Array::from(vec![Some(4), Some(5), Some(0), None]);
       assert_ne!(a.data().slice(2, 2), b.data().slice(2, 2));
   }
   ```
   
   **Expected behavior**
   
   The equality comparisons should produce correct results on ArrayData slices
   


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