nevi-me commented on a change in pull request #8191:
URL: https://github.com/apache/arrow/pull/8191#discussion_r488426215
##########
File path: rust/arrow/src/compute/kernels/arithmetic.rs
##########
@@ -170,7 +225,7 @@ where
// Create the combined `Bitmap`
let null_bit_buffer =
combine_option_bitmap(left.data_ref(), right.data_ref(), left.len())?;
- let bitmap = null_bit_buffer.map(Bitmap::from);
+ let bitmap = null_bit_buffer.clone().map(Bitmap::from);
Review comment:
Is this clone necessary?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]