GH-326: New 'dateAdd' EL function to enable specifying dataset ranges based on
date deltas
------------------------------------------------------------------------------------------
Key: OOZIE-244
URL: https://issues.apache.org/jira/browse/OOZIE-244
Project: Oozie
Issue Type: Bug
Reporter: Hadoop QA
Currently dataset ranges are specified as frequency ranges, for many developers
it is more natural to think in date ranges rather than frequency ranges.
For example for an half-hourly dataset, today, the 48 instances for the the
last day are expressed as the following range:
<code>
<start-instance>${coord:current(-47)}</start-instance>
<end-instance>${coord:current(0)}</end-instance>
</code>
With the new 'dateAdd' EL function it would be:
<code>
<start-instance>${coord:dateAdd(coord:nominalTime(), -1,
DAY)}</start-instance>
<end-instance>${coord:nominalTime()}</end-instance>
</code>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira