[
https://issues.apache.org/jira/browse/HIVE-12531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047611#comment-15047611
]
Sergey Shelukhin commented on HIVE-12531:
-----------------------------------------
[~gopalv] do you think this change is sufficient? I was planning to c/p code
specific to year from around here:
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/sun/util/calendar/BaseCalendar.java#BaseCalendar.0FIXED_DATES
Which would probably be faster as it would avoid the rest of the date stuff.
But this is much simpler.
> 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: Jason Dere
> Attachments: HIVE-12531.1.patch, HIVE-12531.2.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)