polars_arrow::io::ipc::write

Function dictionaries_to_encode

Source
pub fn dictionaries_to_encode(
    field: &IpcField,
    array: &dyn Array,
    dictionary_tracker: &mut DictionaryTracker,
    dicts_to_encode: &mut Vec<(i64, Box<dyn Array>)>,
) -> PolarsResult<()>
Available on crate feature io_ipc only.
Expand description

Find the dictionary that are new and need to be encoded.