[ https://issues.apache.org/jira/browse/HIVE-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323588#comment-15323588 ]
Ashutosh Chauhan commented on HIVE-13380: ----------------------------------------- I think correct course of action here is to treat literal constants as big decimal instead of current choice of double. That will get us consistent behavior. I checked on MySQL and its doing the same thing. However that will likely require more thought and work. So, I think correct course of action is to revert this patch from branch-2.1 and then file a follow-up jira on master to infer non-integeral constant literals as big decimal. > 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 > Labels: TODOC2.1 > Fix For: 2.1.0 > > Attachments: HIVE-13380.2.patch, HIVE-13380.4.patch, > HIVE-13380.5.patch, HIVE-13380.patch, decimal_filter.q > > > Currently its other way round. Also, decimal should be lower than float. -- This message was sent by Atlassian JIRA (v6.3.4#6332)