fn update_dictionaries(
dictionaries_by_id: &mut HashMap<i64, ArrayRef>,
is_delta: bool,
dict_id: i64,
dict_values: ArrayRef,
) -> Result<(), ArrowError>
Expand description
Updates the dictionaries_by_id
with the provided dictionary values and id.
ยงErrors
- If
is_delta
is true and there is no existing dictionary for the givendict_id
- If
is_delta
is true and the concatenation of the existing and new dictionary fails. This usually signals a type mismatch between the old and new values.