I am doing a division operation in hive and it seems like automatically rounding of the values. Is there a way i can avoid this.
Example
select cast(600/27701.47 as decimal(31,20));
+-------------------------+
| _c0 |
+-------------------------+
| 0.02165950000000000000 |
+-------------------------+
Expected value:
0.0216595003803047
I am using hive on EMR - Hive 2.3.6-amzn-1
