lance_table::rowids

Function rechunk_sequences

Source
pub fn rechunk_sequences(
    sequences: impl IntoIterator<Item = RowIdSequence>,
    chunk_sizes: impl IntoIterator<Item = u64>,
) -> Result<Vec<RowIdSequence>>
Expand description

Re-chunk a sequences of row ids into chunks of a given size.

ยงErrors

Will return an error if the sum of the chunk sizes is not equal to the total number of row ids in the sequences.