Skip to main content

decode_decimal_quantity

Function decode_decimal_quantity 

Source
pub fn decode_decimal_quantity(
    values: &Decimal128Array,
    precision: u8,
    field: &'static str,
    row: usize,
) -> Result<Quantity, EncodingError>
Expand description

Decodes a quantity from a nullable scale-16 decimal column.

ยงErrors

Returns an EncodingError if the value cannot be represented by this build.