pub fn read_dictionary<R>(
batch: DictionaryBatchRef<'_>,
fields: &[Field],
ipc_schema: &IpcSchema,
dictionaries: &mut HashMap<i64, Arc<dyn Array + 'static>, RandomState>,
reader: &mut R,
block_offset: u64
) -> Result<(), ArrowError> where
R: Read + Seek,
This is supported on crate feature
io_ipc
only.Expand description
Read the dictionary from the buffer and provided metadata,
updating the dictionaries
with the resulting dictionary