Skip to main content

integer_dictionary_encode

Function integer_dictionary_encode 

Source
pub fn integer_dictionary_encode(
    array: ArrayView<'_, Primitive>,
    stats: &IntegerStats,
) -> VortexResult<DictArray>
Expand description

Compresses an integer array into a dictionary array according to attached stats.

ยงErrors

Returns an error if unable to compute validity.