Skip to main content

row_vnodes

Function row_vnodes 

Source
pub fn row_vnodes(
    batch: &RecordBatch,
    columns: &[usize],
    vnode_count: u32,
) -> Vec<u32>
Expand description

Vnode for each row, hashing columns (by index) with the engine’s arrow-row + xxh3 encoding. columns must be non-empty.

§Panics

Panics if columns holds an out-of-range index or the columns cannot be row-encoded — both internal-invariant violations, not input errors.