[ https://issues.apache.org/jira/browse/HIVE-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15219269#comment-15219269 ]
Xuefu Zhang commented on HIVE-13380: ------------------------------------ I think this came to discussion in the past, and was bounced back because of b/c concerns. In essence, decimal is an exact type, while double/float is not. When an exact type operates with a non-exact type, the result is non-exact. Along this line, we should also revisit the case of other exact types (int, long, etc) operating with double/float. > Decimal should have lower precedence than double in type hierachy > ----------------------------------------------------------------- > > Key: HIVE-13380 > URL: https://issues.apache.org/jira/browse/HIVE-13380 > Project: Hive > Issue Type: Bug > Components: Types > Reporter: Ashutosh Chauhan > Assignee: Ashutosh Chauhan > Attachments: HIVE-13380.patch > > > Currently its other way round. Also, decimal should be lower than float. -- This message was sent by Atlassian JIRA (v6.3.4#6332)