jhorstmann commented on a change in pull request #8663:
URL: https://github.com/apache/arrow/pull/8663#discussion_r523440049
##########
File path: rust/arrow/src/array/array_union.rs
##########
@@ -232,7 +231,7 @@ impl UnionArray {
assert!(index - self.offset() < self.len());
if self.is_dense() {
let valid_slots = match self.data.null_buffer() {
- Some(b) => bit_util::count_set_bits_offset(b.data(), 0, index),
+ Some(b) => b.count_set_bits_offset(0, index),
Review comment:
Oh, I got it, the union format actually changed and deprecated the use
of a null bitmap:
https://github.com/apache/arrow/commit/6df862096c796f438c1b6cf054f51e2e2228b368#
----------------------------------------------------------------
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]