Skip to main content

parse_decimal_accuracy

Function parse_decimal_accuracy 

Source
fn parse_decimal_accuracy(ck_type: &str) -> Result<Option<(u8, u8)>>
Expand description

Parse (precision, scale) out of a decimal type, or None if it is not a decimal. system.columns renders decimals canonically, so Decimal128(10) arrives as Decimal(38, 10).