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/07/27 10:20:54 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #2184: Boolean ArrayData Equality Incorrect Slice Handling

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

   **Describe the bug**
   
   When comparing ArrayData for BooleanArrays, the kernel has an optimised path that uses byte-wide comparison, provided by equal_len if the slices are aligned. Unfortunately this logic fails to account for the fact the offset unit is in bits and not bytes. This leads to index out of bounds errors comparing sliced BooleanArrays.
   
   **To Reproduce**
   
   Compare equality of sliced boolean arrays
   
   **Expected behavior**
   
   This should not fail.
   


-- 
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] tustvold closed issue #2184: Boolean ArrayData Equality Incorrect Slice Handling

Posted by GitBox <gi...@apache.org>.
tustvold closed issue #2184: Boolean ArrayData Equality Incorrect Slice Handling
URL: https://github.com/apache/arrow-rs/issues/2184


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