hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-15334) HIVE-13945 changed scale rules for division
Date Fri, 02 Dec 2016 20:33:58 GMT

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

Jason Dere edited comment on HIVE-15334 at 12/2/16 8:33 PM:
------------------------------------------------------------

Failures already have outstanding bugs for them.
[~sershe] can you review?


was (Author: jdere):
Failures already have outstanding bugs for them.
[~sershe] can you look?

> HIVE-13945 changed scale rules for division
> -------------------------------------------
>
>                 Key: HIVE-15334
>                 URL: https://issues.apache.org/jira/browse/HIVE-15334
>             Project: Hive
>          Issue Type: Bug
>          Components: Types
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-15334.1.patch, HIVE-15334.2.patch, HIVE-15334.3.patch
>
>
> Looks like HIVE-13945 change the decimal division precision/scale rules - the explanation
being "Changed the default decimal precision in division, not sure why it was so low by default."
(https://issues.apache.org/jira/browse/HIVE-13945?focusedCommentId=15354403&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15354403)
> As far as I can tell this causes decimal division to have a minimum scale of 18.
> cc [~sershe] - the rules that were in place were based on the SQL Server precision/scale
rules in https://msdn.microsoft.com/en-us/library/ms190476.aspx
> I'd like to revert this change to precision/scale rules



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message