Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to use count of rows from LHS(input) of tmap and use the count in output(RHS) of same tmap. How to acheive this ?
Hi,
Since you are using an input or output component to capture the data, you can use NB_LINE variable of those components.
A simple example is as shown below.
You can use these values in the next subjob onwards (in the example, I am using in tJava after the first subjob).
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved
It seems Nikhil misunderstood the question .I have attached the snap now.
Requirement is very simple . I need to have the count (no of rows of input i.e . row_header_2 in tmap LHS) and this count i need to use in RHS of the same tmap i.e for ex currency column)