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

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