pub fn partition_to_groups<T>(
values: &[T],
first_group_offset: IdxSize,
nulls_first: bool,
offset: IdxSize,
) -> Vec<[IdxSize; 2]>where
T: Debug + NativeType,
Expand description
Take a clean-partitioned slice and return the groups slices With clean-partitioned we mean that the slice contains all groups and are not spilled to another partition.
first_group_offset
can be used to add insert the null
values group.