hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Balamohan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-15511) Provide an option in months_between UDF to disable rounding-off
Date Mon, 26 Dec 2016 04:54:58 GMT
Rajesh Balamohan created HIVE-15511:
---------------------------------------

             Summary: Provide an option in months_between UDF to disable rounding-off
                 Key: HIVE-15511
                 URL: https://issues.apache.org/jira/browse/HIVE-15511
             Project: Hive
          Issue Type: Improvement
            Reporter: Rajesh Balamohan
            Priority: Minor


Rounding off was added in {{GenericUDFMonthsBetween}} so that it can be compatible with systems
like oracle. However, there are places where rounding off is not needed. 

E.g "CAST(MONTHS_BETWEEN(l_shipdate, l_commitdate) / 12 AS INT)" may not need rounding off
via BigDecimal which is compute intensive.




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

Mime
View raw message