We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40d6a98 commit 7dde049Copy full SHA for 7dde049
1 file changed
vortex-array/src/arrays/patched/compute/filter.rs
@@ -18,15 +18,15 @@ impl FilterReduce for Patched {
18
//
19
// This is helpful when we have a very selective filter that is clustered to a small
20
// range.
21
- let (chunk_start, chunk_stop) = match mask.indices() {
+ let (chunk_start, chunk_stop) = match mask.slices() {
22
AllOr::All | AllOr::None => {
23
// This is handled as the precondition to this method, see the FilterReduce
24
// documentation.
25
unreachable!("mask must be a MaskValues here")
26
}
27
- AllOr::Some(indices) => {
28
- let first = indices[0];
29
- let last = indices[indices.len() - 1];
+ AllOr::Some(slices) => {
+ let (first, _) = slices[0];
+ let (_, last) = slices[slices.len() - 1];
30
31
(first / 1024, last.div_ceil(1024))
32
0 commit comments