[
https://issues.apache.org/jira/browse/HIVE-6568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jitendra Nath Pandey updated HIVE-6568:
---------------------------------------
Attachment: HIVE-6568.3.patch
> 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)