[
https://issues.apache.org/jira/browse/HIVE-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932179#comment-13932179
]
Jitendra Nath Pandey commented on HIVE-6568:
--------------------------------------------
[~rhbutani] This is a serious bug in hive-0.13 and should be ported to
branch-0.13 as well. I will commit it to both trunk and branch-0.13.
> 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)