We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdebcdc commit ff21366Copy full SHA for ff21366
1 file changed
vortex-array/src/arrays/filter/vtable.rs
@@ -2,6 +2,7 @@
2
// SPDX-FileCopyrightText: Copyright the Vortex contributors
3
4
use std::hash::Hasher;
5
+use std::sync::Arc;
6
7
use vortex_error::VortexExpect;
8
use vortex_error::VortexResult;
@@ -146,7 +147,7 @@ impl VTable for Filter {
146
147
return Ok(ExecutionResult::done(canonical));
148
}
149
let mask_values = match &array.mask {
- Mask::Values(v) => v.clone(),
150
+ Mask::Values(v) => Arc::clone(v),
151
_ => unreachable!("`execute_filter_fast_paths` handles AllTrue and AllFalse"),
152
};
153
0 commit comments