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/20 10:31:14 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #1599: ArrayData Equality Incorrect Null Mask Offset Handling

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

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


[GitHub] [arrow-rs] alamb closed issue #1599: ArrayData Equality Incorrect Null Mask Offset Handling

Posted by GitBox <gi...@apache.org>.
alamb closed issue #1599: ArrayData Equality Incorrect Null Mask Offset Handling
URL: https://github.com/apache/arrow-rs/issues/1599


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