Function datafusion::common::arrow::ipc::reader::read_dictionary
source ยท pub fn read_dictionary(
buf: &Buffer,
batch: DictionaryBatch<'_>,
schema: &Schema,
dictionaries_by_id: &mut HashMap<i64, Arc<dyn Array>>,
metadata: &MetadataVersion
) -> Result<(), ArrowError>
Expand description
Read the dictionary from the buffer and provided metadata,
updating the dictionaries_by_id
with the resulting dictionary