hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6594) UnsignedInt128 addition does not increase internal int array count resulting in corrupted values during serialization
Date Sun, 09 Mar 2014 03:08:42 GMT

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

Jitendra Nath Pandey commented on HIVE-6594:
--------------------------------------------

+1

> UnsignedInt128 addition does not increase internal int array count resulting in corrupted
values during serialization
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-6594
>                 URL: https://issues.apache.org/jira/browse/HIVE-6594
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0
>            Reporter: Remus Rusanu
>            Assignee: Remus Rusanu
>         Attachments: HIVE-6594.1.patch, HIVE-6594.2.patch
>
>
> Discovered this while investigating why my fix for HIVE-6222 produced diffs. I discovered
that Decimal128.addDestructive does not adjust the internal count when an the number of relevant
ints increases. Since this count is used in the fast HiveDecimalWriter conversion code, the
results are off. 
> The root cause is UnsignedDecimal128.differenceInternal does not do an updateCount()
on the result.



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

Mime
View raw message