Skip to main content

index_by_parent

Function index_by_parent 

Source
pub(crate) fn index_by_parent(b: &RecordBatch) -> Vec<Vec<u32>>
Expand description

Child rows grouped by parent_id, indexed by it.

Ids are rebased dense from zero per block, so the parent id is the slot — no hash map, and the whole thing is one pass over a u32 buffer.