Module arrow_data::decimal
source · Constants
The maximum precision for DataType::Decimal128 values
The maximum scale for DataType::Decimal128 values
The maximum precision for DataType::Decimal256 values
The maximum scale for DataType::Decimal256 values
The default scale for DataType::Decimal128 and 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
i256 of 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