hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10584) fix Integer references comparison in hcat OutputJobInfo (122)
Date Thu, 07 May 2015 01:11:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-10584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexander Pivovarov updated HIVE-10584:
---------------------------------------
    Attachment: HIVE-10584.1.patch

reattaching patch #1

> fix Integer references comparison in hcat OutputJobInfo (122)
> -------------------------------------------------------------
>
>                 Key: HIVE-10584
>                 URL: https://issues.apache.org/jira/browse/HIVE-10584
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>         Attachments: HIVE-10584.1.patch, rb33791.patch
>
>
> the code below compares Integer references instead of intValues
> {code}
>       public int compare(Integer earlier, Integer later) {
>         return (earlier > later) ? -1 : ((earlier == later) ? 0 : 1);
> {code}



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

Mime
View raw message