pub(crate) fn pack_decimal_to_dictionary<K, D>(
array: &dyn Array,
dict_value_type: &DataType,
precision: u8,
scale: i8,
cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>where
K: ArrowDictionaryKeyType,
D: DecimalType + ArrowPrimitiveType,