<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Talend Data Integration each row loop operation in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Integration-each-row-loop-operation/m-p/2286781#M60403</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a table having columns&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id|f_name|l_name|email_id&lt;/P&gt;
&lt;P&gt;1|abc|xyz|null&lt;/P&gt;
&lt;P&gt;2|def|mno|null&lt;/P&gt;
&lt;P&gt;3|abc|xyz|null&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to process this table and generate email address for each employees.&lt;/P&gt;
&lt;P&gt;If 2 employees have same f_name and l_name then the email address should be like&lt;/P&gt;
&lt;P&gt;abc.a.xyz@gmail.com&lt;/P&gt;
&lt;P&gt;abc.b.xyz@gmail.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, any one can help how could i perform this in talend.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2019 07:14:51 GMT</pubDate>
    <dc:creator>Prakhar1</dc:creator>
    <dc:date>2019-08-14T07:14:51Z</dc:date>
    <item>
      <title>Talend Data Integration each row loop operation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Integration-each-row-loop-operation/m-p/2286781#M60403</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a table having columns&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id|f_name|l_name|email_id&lt;/P&gt;
&lt;P&gt;1|abc|xyz|null&lt;/P&gt;
&lt;P&gt;2|def|mno|null&lt;/P&gt;
&lt;P&gt;3|abc|xyz|null&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to process this table and generate email address for each employees.&lt;/P&gt;
&lt;P&gt;If 2 employees have same f_name and l_name then the email address should be like&lt;/P&gt;
&lt;P&gt;abc.a.xyz@gmail.com&lt;/P&gt;
&lt;P&gt;abc.b.xyz@gmail.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, any one can help how could i perform this in talend.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 07:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Integration-each-row-loop-operation/m-p/2286781#M60403</guid>
      <dc:creator>Prakhar1</dc:creator>
      <dc:date>2019-08-14T07:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Data Integration each row loop operation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Integration-each-row-loop-operation/m-p/2286782#M60404</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I believe you are looking for below solution.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 891px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6x0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133328iCAC4844AA69ECCAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6x0.png" alt="0683p000009M6x0.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The first subjob's role is to find the unique name combinations and find the count for each combination. It will be stored to a tHashOutput.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6wX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135659i8F14C928B1CDCD16/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6wX.png" alt="0683p000009M6wX.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Xl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145374i612FBA25473B126A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Xl.png" alt="0683p000009M6Xl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 714px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6xA.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150515iA395655F8E4EBFFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6xA.png" alt="0683p000009M6xA.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The second subjob will sort the data based on name and will do a lookup with unique name count. If the count is more than 1, it will add additional logic to add character else it will be a combination of first name and last name.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6xF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133886i17037D3BDC7185EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6xF.png" alt="0683p000009M6xF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6xK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147303i16EE7D95EAEA8DAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6xK.png" alt="0683p000009M6xK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The rule which converts the sequence of number to corresponding alphabet is as shown below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;row4.unique_count==1?  
row5.f_name+"."+row5.l_name+"@gmail.com"
:row5.f_name+"."+String.valueOf((char)(Numeric.sequence(row4.full_name,1,1) + 96))+"."+row5.l_name+"@gmail.com" &lt;/PRE&gt; 
&lt;P&gt;The sequence is named after full name. So for each full name combination, the sequence will get automatically reset.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I hope I have answered your query. Please add additional checks to make sure that first name and last name columns are not null. Could you please spare a second to mark the topic as resolved? Kudos will be a bonus from your end &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;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&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 00:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Data-Integration-each-row-loop-operation/m-p/2286782#M60404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-16T00:24:02Z</dc:date>
    </item>
  </channel>
</rss>

