pub fn dictionary_to_dictionary_values<K: DictionaryKey>(
    from: &DictionaryArray<K>,
    values_type: &DataType
) -> Result<DictionaryArray<K>>
Available on crate feature compute_cast only.
Expand description

Casts a DictionaryArray to a new DictionaryArray by keeping the keys and casting the values to values_type.

Errors

This function errors if the values are not castable to values_type