Support Questions
Find answers, ask questions, and share your expertise

How to get date values within a Falcon Process Definition


This question relates to the usage of Apache Falcon any help provided is much appreciated. Hopefully this is a query with a very easy resolution.

Our falcon process is trying to define an argument which will be passed to an oozie workflow and then subsequently into an SQL script. This value is a date value which should be passed in the format YYYYMMDDHH. Currently we're trying to do this by defining as the below as you would in a Falcon Feed.

<property name ="partitiondate" value="${YEAR}${MONTH}${DAY}${HOUR}"/>

But this gives an error,

    CausedBy: E1004: Expression language evaluation error, Unable to evaluate :${YEAR}${MONTH}${DAY}${HOUR}

Is there another way to pass this value?

Thanks again for any help.