<?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: result-set splitter in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/result-set-splitter/m-p/2267421#M46319</link>
    <description>Hi,
&lt;BR /&gt;An other option is to read the whole input file a 1st time and write the content to a tFileOutputDelimited with the split option with a number of records per setted to 10k for example.
&lt;BR /&gt;Then using a tFileList, iterate over the generated files to process the content by 10k rows at a time.</description>
    <pubDate>Fri, 09 Jun 2017 20:31:21 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-06-09T20:31:21Z</dc:date>
    <item>
      <title>result-set splitter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/result-set-splitter/m-p/2267419#M46317</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a large bunch of rows (read from a file) and I'm managing it with some elaboration.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The elaboration takes a time not proportional to the number of row, but exponential somehow. The first 10000 rows are elaborated in 2 minutes (let's say), the second 10000 in 5-6 minutes ... and so on.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My job is designed to write on DB the result, on a SubJobOk link, that is followed when all rows parsed (from file) and elaborated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How could I split a result set (let say 40k rows) in blocks of 10k rows, like a loop?&lt;/P&gt; 
&lt;P&gt;Ideally, I would need a result-set splitter, a component that takes in input a row link and supply in output 4 times (consecutively) 10k rows.&lt;/P&gt; 
&lt;P&gt;Any idea how to achieve this task?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you,&lt;/P&gt; 
&lt;P&gt;Lorenzo&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 13:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/result-set-splitter/m-p/2267419#M46317</guid>
      <dc:creator>Lorenzo5</dc:creator>
      <dc:date>2017-06-09T13:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: result-set splitter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/result-set-splitter/m-p/2267420#M46318</link>
      <description>You can leverage the Header field of file input components to skip numbers of rows. A tLoop component can execute a subjob a number of times, and exposes a CURRENT_VALUE variable that you can reference in other components.</description>
      <pubDate>Fri, 09 Jun 2017 14:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/result-set-splitter/m-p/2267420#M46318</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2017-06-09T14:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: result-set splitter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/result-set-splitter/m-p/2267421#M46319</link>
      <description>Hi,
&lt;BR /&gt;An other option is to read the whole input file a 1st time and write the content to a tFileOutputDelimited with the split option with a number of records per setted to 10k for example.
&lt;BR /&gt;Then using a tFileList, iterate over the generated files to process the content by 10k rows at a time.</description>
      <pubDate>Fri, 09 Jun 2017 20:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/result-set-splitter/m-p/2267421#M46319</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-09T20:31:21Z</dc:date>
    </item>
  </channel>
</rss>

