Skip to main content

price_decimal_array

Function price_decimal_array 

Source
pub fn price_decimal_array(
    values: impl IntoIterator<Item = PriceRaw>,
    field: &'static str,
) -> Result<Decimal128Array, ArrowError>
Expand description

Builds a scale-16 decimal array from model price raw values.

ยงErrors

Returns an [ArrowError] if the values do not fit the declared decimal type.