<?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 Re: how to prevent duplicate records from inserting in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272054#M49439</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.talend.com/t5/user/viewprofilepage/user-id/47"&gt;@TRF&lt;/A&gt;, thanks for the reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I dont to delete the file in case a duplicate is found. I just want the load to output to get error out.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;also, can u pls do dummy job to let me know how it is done.? I'm not sure if i m doing right, as it is not populating results.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The java component gives me a msg - if the output has components&amp;nbsp;,&amp;nbsp;then there must b input link to propagate&amp;nbsp;data.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic.png" style="width: 999px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/13321iDBE90412E57E86F7/image-size/large?v=1.0&amp;amp;px=999" title="pic.png" alt="pic.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Oct 2018 23:16:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-21T23:16:21Z</dc:date>
    <item>
      <title>how to prevent duplicate records from inserting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272052#M49437</link>
      <description>&lt;P&gt;HI,&lt;/P&gt; 
&lt;P&gt;I have a csv file which gives me source to target mapping.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;ex:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;source;month;status;target&lt;BR /&gt;AB1;01;A;A01&lt;BR /&gt;AB2;02;B;B02&lt;BR /&gt;AB2;02;C;C02&lt;/P&gt; 
&lt;P&gt;For every unique value for source,month&amp;amp; status, target value is given.&lt;/P&gt; 
&lt;P&gt;Since this file is manually updated. I want to write a logic that in case of&amp;nbsp; same(duplicate)&amp;nbsp;entries&amp;nbsp;inserted for these 3 columns, the file should get rejected. how do i do it.?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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-inline" image-alt="pic.png" style="width: 999px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/13315i8EC49C6F51B05568/image-size/large?v=1.0&amp;amp;px=999" title="pic.png" alt="pic.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This is how my job looks..? tfileinput is my input csv file. in Tmap, i just uppercase all the fields.&lt;/P&gt; 
&lt;P&gt;So if duplicate entries&amp;nbsp;are inserted in csv&amp;nbsp;file.my file should be rejected..&amp;nbsp;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272052#M49437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to prevent duplicate records from inserting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272053#M49438</link>
      <description>Add a tUniqRow after the tFileInputDelimited then you can check the value of the variable tUniqRow_1_NB_DUPLICATES.&lt;BR /&gt;I suggest you to add a tJava connected to the tFileInputDelimited by a onSubjobOk trigger. Don't change anything to this component and connect it to a tFileDelete with If trigger with the following condition (Integer)globalMap.get("tUniqRow_1_NB_DUPLICATES") &amp;gt; 0</description>
      <pubDate>Sun, 21 Oct 2018 22:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272053#M49438</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-10-21T22:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to prevent duplicate records from inserting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272054#M49439</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.talend.com/t5/user/viewprofilepage/user-id/47"&gt;@TRF&lt;/A&gt;, thanks for the reply.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I dont to delete the file in case a duplicate is found. I just want the load to output to get error out.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;also, can u pls do dummy job to let me know how it is done.? I'm not sure if i m doing right, as it is not populating results.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The java component gives me a msg - if the output has components&amp;nbsp;,&amp;nbsp;then there must b input link to propagate&amp;nbsp;data.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic.png" style="width: 999px;"&gt;&lt;IMG src="https://yutwg22796.i.lithium.com/t5/image/serverpage/image-id/13321iDBE90412E57E86F7/image-size/large?v=1.0&amp;amp;px=999" title="pic.png" alt="pic.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Oct 2018 23:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272054#M49439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-21T23:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to prevent duplicate records from inserting</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272055#M49440</link>
      <description>&lt;P&gt;1- you forgot the tUniqRow to get duplicate records&lt;/P&gt;&lt;P&gt;2- you have used a tJavaRow instead of a tJava&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 07:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-prevent-duplicate-records-from-inserting/m-p/2272055#M49440</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-10-22T07:57:15Z</dc:date>
    </item>
  </channel>
</rss>

