arrow_ipc::reader

Function read_dictionary

Source
pub fn read_dictionary(
    buf: &Buffer,
    batch: DictionaryBatch<'_>,
    schema: &Schema,
    dictionaries_by_id: &mut HashMap<i64, ArrayRef>,
    metadata: &MetadataVersion,
) -> Result<(), ArrowError>
Expand description

Read the dictionary from the buffer and provided metadata, updating the dictionaries_by_id with the resulting dictionary