Skip to main content

dictionary_encode

Function dictionary_encode 

Source
pub fn dictionary_encode(data_block: DataBlock) -> (DataBlock, DataBlock)
Expand description

Dictionary encodes a data block

Currently only supported for some common cases (string / binary / 64-bit / 128-bit)

Returns a block of indices (will always be a fixed width data block) and a block of dictionary