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 maximumi128
value that can be stored in arrow_schema::DataType::Decimal128 value of precisionp
MIN_DECIMAL_FOR_EACH_PRECISION[p]
holds the minimumi128
value that can be stored in a arrow_schema::DataType::Decimal128 value of precisionp
Functions§
- Validates that the specified
i256
of value can be properly interpreted as a Decimal256 number with precisionprecision
- Validates that the specified
i128
value can be properly interpreted as a Decimal number with precisionprecision