pitrou opened a new issue, #45819: URL: https://github.com/apache/arrow/issues/45819
### Describe the enhancement requested We currently have `BitmapAnd` utility functions that return the conjunction of two bitmaps. However, null bitmaps are optional which complicates things when conjoining two null bitmaps. It would be good to centralize that functionality in a dedicated utility function, for example: ```c++ ARROW_EXPORT Result<std::shared_ptr<Buffer>> OptionalBitmapAnd( MemoryPool* pool, const std::shared_ptr<Buffer>& left, int64_t left_offset, const std::shared_ptr<Buffer>& right, int64_t right_offset, int64_t length, int64_t out_offset); ``` ### Component(s) C++ -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org