falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srikanth Sundarrajan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1025) lastWeek and CurrentWeek functions are getting evaluated incorrect
Date Fri, 20 Feb 2015 10:16:12 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328777#comment-14328777

Srikanth Sundarrajan commented on FALCON-1025:

commons-lang is a dependency that many of the components that falcon uses. Are you certain
that bumping it doesn't cause any side effects from a class incompatibility stand point ?

The next best option to counter the class creation over head and thread safety issue for SDF
is to make it a thread local variable, so that it isn't created too many times and thread
safety isn't an issue.

> 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-v2.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

View raw message