risingwave_common::hash::table_distribution

Function compute_vnode

source
pub fn compute_vnode(
    row: impl Row,
    indices: &[usize],
    vnodes: &Bitmap,
) -> VirtualNode
Expand description

Get vnode value with indices on the given row.