hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "slim bouguerra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-20902) Math.abs(rand.nextInt())) or Math.abs(rand.nexLong())) can return a negative number
Date Sat, 10 Nov 2018 01:19:00 GMT
slim bouguerra created HIVE-20902:
-------------------------------------

             Summary: Math.abs(rand.nextInt())) or Math.abs(rand.nexLong()))  can return a
negative number
                 Key: HIVE-20902
                 URL: https://issues.apache.org/jira/browse/HIVE-20902
             Project: Hive
          Issue Type: Bug
            Reporter: slim bouguerra
            Assignee: slim bouguerra


i see a lot of Math.abs(rand.nextInt()))  in the code base and this can return a negative
number.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message