pub(crate) fn gather_dictionary_values_generic<K: ArrowDictionaryKeyType>( array: &DictionaryArray<K>, ) -> Result<ArrayRef, ArrowError>