Module arrow_data::decimal
source · [−]Constants
The maximum precision for arrow_schema::DataType::Decimal128 values
The maximum scale for arrow_schema::DataType::Decimal128 values
The maximum precision for arrow_schema::DataType::Decimal256 values
The maximum scale for arrow_schema::DataType::Decimal256 values
The default scale for arrow_schema::DataType::Decimal128 and
arrow_schema::DataType::Decimal256 values
MAX_DECIMAL_FOR_EACH_PRECISION[p] holds the maximum i128 value
that can be stored in arrow_schema::DataType::Decimal128 value of precision pMIN_DECIMAL_FOR_EACH_PRECISION[p] holds the minimum i128 value
that can be stored in a arrow_schema::DataType::Decimal128 value of precision pFunctions
Validates that the specified
byte_array of little-endian format
value can be properly interpreted as a Decimal256 number with precision precisionValidates that the specified
i128 value can be properly
interpreted as a Decimal number with precision precision