[
https://issues.apache.org/jira/browse/FALCON-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328599#comment-14328599
]
Srikanth Sundarrajan commented on FALCON-1025:
----------------------------------------------
SimpleDateFormat is not thread safe. And it is quite expensive to create as
well.
> lastWeek and CurrentWeek functions are getting evaluated incorrect
> ------------------------------------------------------------------
>
> Key: FALCON-1025
> URL: https://issues.apache.org/jira/browse/FALCON-1025
> Project: Falcon
> Issue Type: Bug
> Components: process
> Affects Versions: 0.7
> Reporter: pavan kumar kolamuri
> Assignee: pavan kumar kolamuri
> Attachments: FALCON-1025-v1.patch, FALCON-1025.patch
>
>
> In Data input section in process currentWeek and lastWeek are getting
> evaluated incorrectly.
> Ex: Current time is 13th Feb 7th hour
> currentWeek('WED',0,0) getting evaluated to Fri Jan 30 00:00:00 UTC 2015 it
> should evaluate to Wed Feb 11 00:00:00 UTC 2015
> Even the lastWeek is getting evaluated in correctly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)