pub(crate) fn parse_string_to_decimal_native<T: DecimalType>(
value_str: &str,
scale: usize,
) -> Result<T::Native, ArrowError>where
T::Native: DecimalCast + ArrowNativeTypeOp,
Expand description
Parses given string to specified decimal native (i128/i256) based on given
scale. Returns an Err
if it cannot parse given string.