Skip to content

Commit 2ef9e09

Browse files
committed
Restore ListView take implementation
Signed-off-by: Daniel King <dan@spiraldb.com>
1 parent 7cb426a commit 2ef9e09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • vortex-array/src/arrays/listview/compute

vortex-array/src/arrays/listview/compute/take.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn apply_take(array: ArrayView<'_, ListView>, indices: &ArrayRef) -> VortexResul
5252
let nullable_new_sizes = sizes.take(indices.clone())?;
5353

5454
// `take` returns nullable arrays; cast back to non-nullable (filling with zeros to represent
55-
// the null lists caused by null indices; the validity mask tracks nullness separately).
55+
// the null lists the validity mask tracks nullness separately).
5656
let new_offsets = match_each_integer_ptype!(nullable_new_offsets.dtype().as_ptype(), |O| {
5757
nullable_new_offsets.fill_null(Scalar::primitive(O::zero(), Nullability::NonNullable))?
5858
});

0 commit comments

Comments
 (0)