zanmato1984 commented on issue #47825:
URL: https://github.com/apache/arrow/issues/47825#issuecomment-3407436127

   This particular chunking eventually goes down into the following path:
   
https://github.com/apache/arrow/blob/541cba859c3cdb4cc6cb3f456aaae79f67c7d57d/cpp/src/arrow/util/bitmap_ops.cc#L376-L379
   with `left_offset == right_offset == out_offset == 1`. Then the byte-wise 
bit op overrides bit zero.
   
   I think the aligned bit op should only be performed when `left_offset == 
right_offset == out_offset == 0` (instead of only requiring they are congruent 
modulo 8). @pitrou what do you think?


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