Description
Looks like HIVE-13945 change the decimal division precision/scale rules - the explanation being "Changed the default decimal precision in division, not sure why it was so low by default." (https://issues.apache.org/jira/browse/HIVE-13945?focusedCommentId=15354403&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15354403)
As far as I can tell this causes decimal division to have a minimum scale of 18.
cc sershe - the rules that were in place were based on the SQL Server precision/scale rules in https://msdn.microsoft.com/en-us/library/ms190476.aspx
I'd like to revert this change to precision/scale rules
Attachments
Attachments
Issue Links
- blocks
-
HIVE-15331 Decimal multiplication with high precision/scale often returns NULL
- Closed
- relates to
-
HIVE-13945 Decimal value is displayed as rounded when selecting where clause with that decimal value.
- Resolved