pub(crate) fn generic_string_to_decimal_cast<'a, T, S>( from: &'a S, precision: u8, scale: i8, cast_options: &CastOptions<'_>, ) -> Result<PrimitiveArray<T>, ArrowError>where T: DecimalType, &'a S: StringArrayType<'a>,