High Precision Decimal Data Type on the Hive Engine
High Precision Decimal Data Type on the Hive Engine
In high-precision mode, the Hive engine supports decimal data types with precision up to 38 digits and a maximum scale of 38. The scale must be less than the precision.
When you run mappings in high-precision mode, the Hive engine maintains the precision at a maximum of 38 digits. As a result, precision loss can occur due to data overflow or intermediate calculations.
To minimize precision loss, configure the precision and scale to accurately reflect the data.