Thanks James. That's exactly what I ended up with :)
On Thu, Jun 9, 2016 at 12:48 PM, James Wing wrote:
> Igor,
>
> One way would be to format both dates as strings (like "20160609" in your
> HDFS paths) first, then compare the two strings for equality. In a
>
Igor,
One way would be to format both dates as strings (like "20160609" in your
HDFS paths) first, then compare the two strings for equality. In a
RouteOnAttribute expression:
${now():format("MMdd"):equals(${entryDate:format("MMdd")})}
If your goal is to merge the records into larger
Hi,
In my workflow data is coming form Kafka Topic in JSON format and saved ot
HDFS directory by day.
HDFS directory path constructed as /mypath/${now():format("MMdd")}
JSON file contains attribute {... "adddate":"2016-06-07 17:06:17" }
I want to avoid over-spill of a previous date files