interleave_fallback_dictionary

Function interleave_fallback_dictionary 

Source
fn interleave_fallback_dictionary<K: ArrowDictionaryKeyType>(
    dictionaries: &[&DictionaryArray<K>],
    indices: &[(usize, usize)],
) -> Result<ArrayRef, ArrowError>
Expand description

Fallback implementation for interleaving dictionaries when it was determined that the dictionary values should not be merged. This implementation concatenates the value slices and recomputes the resulting dictionary keys.

ยงPanics

This function assumes that the combined dictionary values will not overflow the key type. Callers must verify this condition should_merge_dictionary_values before calling this function.