We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd9f543 commit 0901f07Copy full SHA for 0901f07
1 file changed
vortex-array/src/arrays/masked/execute.rs
@@ -224,9 +224,7 @@ fn mask_validity_variant(
224
// Child has an array-backed validity stored as its first child.
225
// Combine with the mask and replace that child via with_children.
226
let combined = combine_validity(&child_validity, mask, len, ctx)?;
227
- let mut children = child.children();
228
- children[0] = combined.to_array(len);
229
- let new_child = child.with_children(children)?;
+ let new_child = child.with_slot(0, combined.to_array(len))?;
230
Ok(VariantArray::new(new_child))
231
}
232
0 commit comments