hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-10584) fix Integer references comparison in hcat OutputJobInfo (122)
Date Sun, 03 May 2015 08:27:05 GMT
Alexander Pivovarov created HIVE-10584:
------------------------------------------

             Summary: 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


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