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

Jason Dere commented on HIVE-6012:
----------------------------------

Also will add config setting hive.sql.ansi to be able to switch this return 
type behavior from the backward compatible mode to the more SQL compliant 
return types that were done in HIVE-5356.

> restore backward compatibility of arithmetic operations
> -------------------------------------------------------
>
>                 Key: HIVE-6012
>                 URL: https://issues.apache.org/jira/browse/HIVE-6012
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Thejas M Nair
>
> HIVE-5356 changed the behavior of some of the arithmetic operations, and the 
> change is not backward compatible, as pointed out in this [jira 
> comment|https://issues.apache.org/jira/browse/HIVE-5356?focusedCommentId=13813398&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13813398]
> {code}
> int / int => decimal
> float / float => double
> float * float => double
> float + float => double
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to