hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Hanson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6568) Vectorized cast of decimal to string and timestamp produces incorrect result.
Date Tue, 11 Mar 2014 16:55:45 GMT

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

Eric Hanson commented on HIVE-6568:
-----------------------------------

+1

> Vectorized cast of decimal to string and timestamp produces incorrect result.
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-6568
>                 URL: https://issues.apache.org/jira/browse/HIVE-6568
>             Project: Hive
>          Issue Type: Bug
>          Components: Vectorization
>    Affects Versions: 0.13.0
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>         Attachments: HIVE-6568.1.patch, HIVE-6568.2.patch, HIVE-6568.3.patch
>
>
> A decimal value 1.23 with scale 5 is represented in string as 1.23000. This behavior
is different from HiveDecimal behavior.
> The difference in cast to timestamp is due to more aggressive rounding in vectorized
expression.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message