Reputation: 822
I am working on a Talend transformation process (we are using Talend 6.4). , and I don't know how to implement the current requirement.
I have an input consisting in :
The rule to implement is:
See the transformation applying those rules on some dummy data:
I thought first to do the following:
but I am not skilled enough to know whether the second transformation exists in Talend.
Regards,
Pierre
Upvotes: 0
Views: 370
Reputation: 822
The answer from @MBDIA seem to be working, however I would like to share what we did to fulfill our requirement.
See our Talend process here:
The first tMap (tMap_3) acts like a tReplicate and a tMap, and sends:
In the second part of the process, we first apply the sort to the whole data on Account, Product, Empty date flag (computed before), End date (desc) and use a second tMap to make a join on both branches (on Account x Product), only keeping First Match in order to keep the first record as per our requirement.
Upvotes: 1
Reputation: 1555
Very interesting Talend question. You need to create something like this job.
here a link to the zip file to import in your Talend
Upvotes: 1