Function get_dict_value

Source
pub fn get_dict_value<K>(
    array: &dyn Array,
    index: usize,
) -> Result<(&Arc<dyn Array>, Option<usize>), DataFusionError>
Expand description

Return a reference to the values array and the index into it for a dictionary array

ยงErrors

Errors if the array cannot be downcasted to DictionaryArray