Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I need to fetch only records between two dates. Also i need this to be written in the tMap expression builder.
I have an incoming DATE which has past and future dates. But i need to fetch only the dates that are between CurrentDay and CurrentDay+7 and rest all the dates should be ignored in my output. This has to be done in tMap expression builder.
Can someone please help on this?
Is it possible to bring in BETWEEN like function or DateDiff in Talend??
I have done a similar exercise in one of my earlier posts. Could you please refer my comment in the below post (6th comment), which is having code and screenshots? I hope it will satisfy your query.
If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome 🙂
Warm Regards,
Nikhil Thampi
I have done a similar exercise in one of my earlier posts. Could you please refer my comment in the below post (6th comment), which is having code and screenshots? I hope it will satisfy your query.
If the answer has helped you, could you please mark the topic as resolved? Kudos are also welcome 🙂
Warm Regards,
Nikhil Thampi
Are you getting any error? I believe you will have to verify the data of each expression separately before merging them. An easy way is to print the output of each expression to a tlogrow and verify. I am sure you can crack it with some quick analysis 🙂
Warm Regards,
Nikhil Thampi
Hi,
Could you please print the expression results as tmap columns and share the details here? Also add one additional column which will give the results after merging. Lets quickly check whether its processing boolean correctly. Please note that they are boolean fields and you are using an OR condition.
Warm Regards,
Nikhil Thampi
Yes. I would suggest to verify the data for all different conditions. Anyway, now you know how to do comparison and its just a matter of doing condition checking based on multiple boolean values. You can crack it 🙂
Warm Regards,
Nikhil Thampi