arrow_cast::cast::dictionary

Function pack_numeric_to_dictionary

Source
pub(crate) fn pack_numeric_to_dictionary<K, V>(
    array: &dyn Array,
    dict_value_type: &DataType,
    cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>
where K: ArrowDictionaryKeyType, V: ArrowPrimitiveType,