hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6012) restore backward compatibility of arithmetic operations
Date Mon, 03 Nov 2014 08:05:34 GMT

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

Lefty Leverenz commented on HIVE-6012:
--------------------------------------

Review request:  *hive.compat* is documented in the wiki and needs to be reviewed carefully.
 For example, does the parameter affect other operations besides division of ints?

* [Configuration Properties -- hive.compat | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.compat]

Still to come (pending answer to question above):  documenting *hive.compat* in the table
of arithmetic operators:

* [Hive Operators and UDFs -- Arithmetic Operators | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-ArithmeticOperators]

> 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
>            Assignee: Jason Dere
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6012.1.patch, HIVE-6012.2.patch, HIVE-6012.3.patch, HIVE-6012.4.patch,
HIVE-6012.5.patch, HIVE-6012.6.patch
>
>
> 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.3.4#6332)

Mime
View raw message