hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12531) Implement fast-path for Year/Month UDFs for dates between 1999 and 2038
Date Tue, 01 Dec 2015 02:28:10 GMT

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

Jason Dere updated HIVE-12531:
------------------------------
    Attachment: HIVE-12531.1.patch

Simple patch to replace use of Java Calendar with Joda, which appears to be significantly
faster (setMillis()/getYear() appeared to be 3-4x faster than the equivalent Calendar operations).

> Implement fast-path for Year/Month UDFs for dates between 1999 and 2038
> -----------------------------------------------------------------------
>
>                 Key: HIVE-12531
>                 URL: https://issues.apache.org/jira/browse/HIVE-12531
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Gopal V
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-12531.1.patch
>
>
> Current codepath goes into the JDK Calendar implementation, which is very slow for the
simple cases in the current decade.



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

Mime
View raw message