pub fn dictionary_to_dictionary_values<K>(
from: &DictionaryArray<K>,
values_type: &DataType
) -> Result<DictionaryArray<K>, ArrowError> where
K: DictionaryKey, This is supported 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