Skip to main content

row_vnodes

Function row_vnodes 

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

Hash each row with the engine’s canonical Arrow-row and xxh3 encoding.

§Errors

Returns a structural or Arrow encoding error instead of panicking on invalid resolved columns.