(Since version 1.5) Use DecimalType(precision, scale) instead
The default size of a value of the DecimalType is 4096 bytes.
The default size of a value of the DecimalType is 4096 bytes.
The compact JSON representation of this data type.
The compact JSON representation of this data type.
The pretty (i.
The pretty (i.e. indented) JSON representation of this data type.
Readable string representation for the type.
Readable string representation for the type.
Name of the type used in JSON serialization.
Name of the type used in JSON serialization.
(Since version 1.5) Use DecimalType.precision and DecimalType.scale instead
:: DeveloperApi :: The data type representing
java.math.BigDecimal
values. A Decimal that must have fixed precision (the maximum number of digits) and scale (the number of digits on right side of dot).The precision can be up to 38, scale can also be up to 38 (less or equal to precision).
The default precision and scale is (10, 0).
Please use DataTypes.createDecimalType() to create a specific instance.