[ 
https://issues.apache.org/jira/browse/HIVE-13380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15219420#comment-15219420
 ] 

Ashutosh Chauhan commented on HIVE-13380:
-----------------------------------------

yup.. since result is anyway going to be non-exact, there is no advantage for 
doing computation in decimal. Since, both sql server & oracle treat 
double/float higher than decimal, so it seems good idea for Hive to do so. For 
b/c, we can keep this change only on 2.x line and not backport it.

> 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)

Reply via email to