We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f115d2 commit a20f24eCopy full SHA for a20f24e
vortex-array/src/arrays/constant/compute/take.rs
@@ -58,7 +58,7 @@ mod tests {
58
)
59
.unwrap();
60
let valid_indices: &[usize] = &[1usize];
61
- assert_eq!(taken.to_primitive().unwrap().as_slice::<i32>(), &[0, 42, 0]);
+ assert_eq!(taken.to_primitive().unwrap().as_slice::<i32>(), &[42, 42, 42]);
62
assert_eq!(
63
taken.validity_mask().unwrap().indices(),
64
AllOr::Some(valid_indices)
0 commit comments