Jo2234 commented on code in PR #10368:
URL: https://github.com/apache/arrow-rs/pull/10368#discussion_r3610607068


##########
arrow-select/src/zip.rs:
##########
@@ -145,13 +145,53 @@ pub fn zip(
     zip_impl(mask, &truthy, truthy_is_scalar, &falsy, falsy_is_scalar)
 }
 
+fn count_true_runs(mask: &BooleanBuffer) -> usize {

Review Comment:
   Added direct `count_true_runs` coverage in 8c471917e, including 
empty/all-false/all-true masks, multiple runs, 64-bit chunk boundaries with 
trailing padding, and sliced masks with non-zero bit offsets. `cargo test -p 
arrow-select --all-features` passes (394 unit tests and 17 doctests); 
formatting and clippy checks also pass.



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