<?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: tuniquerow problem with duplicate rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278548#M53992</link>
    <description>Try tFileList --&amp;gt; tFileInputDelimited --&amp;gt; tUnite --&amp;gt; tUniqueRow --&amp;gt; tOracleOutput.</description>
    <pubDate>Wed, 29 Aug 2012 06:03:56 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2012-08-29T06:03:56Z</dc:date>
    <item>
      <title>tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278541#M53985</link>
      <description>hi everybody,&lt;BR /&gt;I'm attempting to take unique rows from a set of files (where rows can appear in multiple files) and after I want to insert them in my database table. The problem is that rows are duplicated. See the screen shots.&lt;BR /&gt;thanx...</description>
      <pubDate>Tue, 28 Aug 2012 09:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278541#M53985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T09:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278542#M53986</link>
      <description>The tUniqRow only checks the current iteration (file). 
&lt;BR /&gt;2 solutions I can think of:
&lt;BR /&gt;- merge all files into a single file and use tUniqrow afterwards
&lt;BR /&gt;- use Update or Insert on the SQL component</description>
      <pubDate>Tue, 28 Aug 2012 10:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278542#M53986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T10:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278543#M53987</link>
      <description>I already tryed the "update or insert" strategy but it doesn't work (or It seams that I don't understand how it works). I have used the toracleoutput component and Action on data I selected "Update or insert" but I get errors:
&lt;BR /&gt;ORA-01747: invalid user.table.column, table.column, or column specification
&lt;BR /&gt;And even that I have duplicated rows.
&lt;BR /&gt;
&lt;BR /&gt;PS: How to merge files comming from tfilelist???
&lt;BR /&gt;Thanx...</description>
      <pubDate>Tue, 28 Aug 2012 10:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278543#M53987</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T10:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278544#M53988</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;I already tryed the "update or insert" strategy but it doesn't work (or It seams that I don't understand how it works). I have used the toracleoutput component and Action on data I selected "Update or insert" but I get errors:&lt;BR /&gt;ORA-01747: invalid user.table.column, table.column, or column specification&lt;BR /&gt;And even that I have duplicated rows.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Did you set the primary key in the schema?
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;PS: How to merge files comming from tfilelist???&lt;BR /&gt;Thanx...&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;by creating a new file using the "Append" option in tFileOutputDelimited</description>
      <pubDate>Tue, 28 Aug 2012 13:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278544#M53988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T13:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278545#M53989</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Did you set the primary key in the schema?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Yes I did. Find attached the screen shot of the t_oracleoutput schema.</description>
      <pubDate>Tue, 28 Aug 2012 13:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278545#M53989</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T13:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278546#M53990</link>
      <description>But is it set on the database table?</description>
      <pubDate>Tue, 28 Aug 2012 15:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278546#M53990</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-08-28T15:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278547#M53991</link>
      <description>Hi,
&lt;BR /&gt;The proposed solution should work, but here's what I sometimes do (if the files are not too big/there are not so many files and if you expect quite numerous duplicates or if I need to apply a specific treatment (log?) on them) : use a tHashOutput to "join" your data and use the tUniqRow after the corresponding tHashInput. 
&lt;BR /&gt;You might need to ask to show these components (Designer&amp;gt;Palette Settings in project parameters).</description>
      <pubDate>Tue, 28 Aug 2012 18:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278547#M53991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T18:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278548#M53992</link>
      <description>Try tFileList --&amp;gt; tFileInputDelimited --&amp;gt; tUnite --&amp;gt; tUniqueRow --&amp;gt; tOracleOutput.</description>
      <pubDate>Wed, 29 Aug 2012 06:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278548#M53992</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-29T06:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278549#M53993</link>
      <description>Thanx it's OK but I still have the following error:&lt;BR /&gt;ORA-01747: invalid user.table.column, table.column, or column specification</description>
      <pubDate>Wed, 29 Aug 2012 19:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278549#M53993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-29T19:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: tuniquerow problem with duplicate rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278550#M53994</link>
      <description>I think you can't use "update or insert" if you don't have at least one non-key column i.e. the key columns become the WHERE clause and the non-key columns become the SET clause of the UPDATE statement.</description>
      <pubDate>Thu, 30 Aug 2012 02:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tuniquerow-problem-with-duplicate-rows/m-p/2278550#M53994</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-30T02:34:13Z</dc:date>
    </item>
  </channel>
</rss>

