Function datafusion::common::scalar::get_dict_value
source · pub fn get_dict_value<K>(
array: &dyn Array,
index: usize
) -> Result<(&Arc<dyn Array>, Option<usize>), DataFusionError>where
K: ArrowDictionaryKeyType,
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