parquet::record::api

Function convert_decimal_to_string

Source
fn convert_decimal_to_string(decimal: &Decimal) -> String
Expand description

Helper method to convert Parquet decimal into a string. We assert that scale >= 0 and precision > scale, but this will be enforced when constructing Parquet schema.