Skip to main content

take_canonical

Function take_canonical 

Source
pub fn take_canonical(
    values: Canonical,
    codes: &PrimitiveArray,
    ctx: &mut ExecutionCtx,
) -> VortexResult<Canonical>
Expand description

Take from a canonical array using indices (codes), returning a new canonical array.

This is the core operation for dictionary decoding - it expands the dictionary by looking up each code in the values array.