mbutrovich commented on code in PR #9692:
URL: https://github.com/apache/arrow-rs/pull/9692#discussion_r3075657384
##########
arrow-buffer/src/buffer/null.rs:
##########
@@ -84,6 +84,20 @@ impl NullBuffer {
}
}
+ /// Computes the union of the nulls in multiple optional [`NullBuffer`]s
+ ///
+ /// See [`union`](Self::union)
+ pub fn union_many(nulls: &[Option<&NullBuffer>]) -> Option<NullBuffer> {
Review Comment:
IIRC I tried this at one point, but the current design seemed more idiomatic
to the codebase. Happy to go with whatever makes sense to you.
--
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]