<?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 Tmap difference on files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330612#M99674</link>
    <description>&lt;P&gt;Hello guys,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm trying to compare 2 files (XML) in a tMap and having only the difference between the files as output. (which will be CSV)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My job, for now, looks like :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileInputXML ---main---&amp;gt;tMap ---&amp;gt; tlogrow&lt;/P&gt; 
&lt;P&gt;tfileinputXML ---lookup--&amp;gt; (to the same tmap)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My tmap is configured as following : Inner join / catch look up inner join reject : true.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Its working all fine, once a line from lookup is not like my main row, i have it in my tlogrow. What i want to add is :&lt;/P&gt; 
&lt;P&gt;If my look up file has a line, and my main doesnt have this line anymore, i want the line with 0 as quantity. Any idea?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;An example : on the left the main files, on the right the look up files, as you can see the first &amp;lt;stock&amp;gt; from right disappear (store code 0704 ......)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="samples.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LxgB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132956i35B91D08D53330A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LxgB.png" alt="0683p000009LxgB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;On my output i want for this case :&lt;/P&gt; 
&lt;P&gt;&amp;lt;store_code&amp;gt;0704&amp;lt;/store_code&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;ean_sku&amp;gt;4067386843085&amp;lt;/ean_sku&amp;gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;lt;quantity&amp;gt;0&amp;lt;/quantity&amp;gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;price&amp;gt;32.49&amp;lt;/price&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;promo&amp;gt;24.39&amp;lt;/price&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If anyone can help, would be much appreciate !&lt;/P&gt;</description>
    <pubDate>Wed, 16 May 2018 14:58:01 GMT</pubDate>
    <dc:creator>daez</dc:creator>
    <dc:date>2018-05-16T14:58:01Z</dc:date>
    <item>
      <title>Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330612#M99674</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm trying to compare 2 files (XML) in a tMap and having only the difference between the files as output. (which will be CSV)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My job, for now, looks like :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFileInputXML ---main---&amp;gt;tMap ---&amp;gt; tlogrow&lt;/P&gt; 
&lt;P&gt;tfileinputXML ---lookup--&amp;gt; (to the same tmap)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My tmap is configured as following : Inner join / catch look up inner join reject : true.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Its working all fine, once a line from lookup is not like my main row, i have it in my tlogrow. What i want to add is :&lt;/P&gt; 
&lt;P&gt;If my look up file has a line, and my main doesnt have this line anymore, i want the line with 0 as quantity. Any idea?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;An example : on the left the main files, on the right the look up files, as you can see the first &amp;lt;stock&amp;gt; from right disappear (store code 0704 ......)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="samples.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LxgB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132956i35B91D08D53330A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LxgB.png" alt="0683p000009LxgB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;On my output i want for this case :&lt;/P&gt; 
&lt;P&gt;&amp;lt;store_code&amp;gt;0704&amp;lt;/store_code&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;ean_sku&amp;gt;4067386843085&amp;lt;/ean_sku&amp;gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;lt;quantity&amp;gt;0&amp;lt;/quantity&amp;gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;price&amp;gt;32.49&amp;lt;/price&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;lt;promo&amp;gt;24.39&amp;lt;/price&amp;gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If anyone can help, would be much appreciate !&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 14:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330612#M99674</guid>
      <dc:creator>daez</dc:creator>
      <dc:date>2018-05-16T14:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330613#M99675</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,since you will not get the&amp;nbsp;&lt;SPAN&gt;0704&amp;nbsp;,untill you change the file as a primary in tmap ,which has the&amp;nbsp;0704 data&amp;nbsp;file .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 06:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330613#M99675</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-05-17T06:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330614#M99676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;, thanks for the answer. Is there anyway to get my 0704 data while keeping the same main / look up row. If i change this, it wont get the "freshest" info from the first file ... I tried kinda all the jointure possible&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 09:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330614#M99676</guid>
      <dc:creator>daez</dc:creator>
      <dc:date>2018-05-17T09:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330615#M99677</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,since you need to split the flows .for the Reject you need design separte flow .as shown below.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 799px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lx36.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149676i5691293FA291A49A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lx36.png" alt="0683p000009Lx36.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 09:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330615#M99677</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-05-17T09:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330616#M99678</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;, thanks for your time and screenshot ! So i cant do it in one time with a tMap if I get it right ?&lt;BR /&gt;&lt;BR /&gt;Any chance i see your tXML map settings &amp;amp; tUnite ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 10:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330616#M99678</guid>
      <dc:creator>daez</dc:creator>
      <dc:date>2018-05-17T10:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330617#M99679</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;, Imagine I have 10 lines in my 2 files. On the most recent one, 3 data changed &amp;amp; one got deleted.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want in my output only the 3 data changed &amp;amp; the line that have been deleted (so i get it from the second files).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your idea is to get the 3 data changed with one tMAP then the 1 that got deleted with another tMAP and then join those two new files with a tUnite. This is pretty smart, I didnt see it like that, thanks dude. I success to get the 3 lines, but the " one that got deleted " and need to be get on the second files, how do you do that ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;How configure the tMap to get the only line that has been deleted in the first&amp;nbsp;file from the second file? ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 10:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330617#M99679</guid>
      <dc:creator>daez</dc:creator>
      <dc:date>2018-05-17T10:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330618#M99680</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,take as second file as a primary and first file as a lookup and get the inner join reject&amp;nbsp; and populate to same way with Hash output and read the same data load connect to tUnite,how i connected.&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 12:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330618#M99680</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-05-17T12:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330619#M99681</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,still do you have issue?&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 08:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330619#M99681</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-05-22T08:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap difference on files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330620#M99682</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,Please provide Kudos also.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 10:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-difference-on-files/m-p/2330620#M99682</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-05-22T10:26:51Z</dc:date>
    </item>
  </channel>
</rss>

