[
https://issues.apache.org/jira/browse/PIG-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohini Palaniswamy updated PIG-3339:
------------------------------------
Attachment: PIG-3339-1.patch
Very small patch. No new unit tests as it is just making a variable static. Ran
TestDefaultDateTimeZone and it passed.
> Move pattern compilation in ToDate as a static variable
> -------------------------------------------------------
>
> Key: PIG-3339
> URL: https://issues.apache.org/jira/browse/PIG-3339
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.11.1
> Reporter: Rohini Palaniswamy
> Assignee: Rohini Palaniswamy
> Fix For: 0.12
>
> Attachments: PIG-3339-1.patch
>
>
> Pattern compilation is costly. It is currently being done for every tuple in
> ToDate.extractDateTimeZone(). Should be a static variable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira