<?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 Problem with batch Processing and processing all rows in Custom component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245327#M149072</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a component that needs the whole dataset to do some processing on it. One of the ways that I have gone forward is implementing batch processing and entering the&amp;nbsp;maxBatchSize&amp;nbsp;as the dataset size. So once the buffer size matches the &lt;SPAN&gt;maxBatchSize&lt;/SPAN&gt; I do the processing. However, I have been facing a couple of problems with the above approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. The&amp;nbsp;@AfterGroup method is executed twice once when buffer size is 100 and then when it reaches the maxBatchSize (that's when the processing happens as there is a check in the aftergroup). Any reasons why is the AfterGroup method executed twice? Also, can anyone shed some more light on the life-cycle of these methods:&lt;/P&gt;
&lt;P&gt;a. BeforeGroup&lt;/P&gt;
&lt;P&gt;b. ElementListener&lt;/P&gt;
&lt;P&gt;c. AfterGroup?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;Is there any way to determine the actual size of the input Dataset?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-02T14:45:42Z</dc:date>
    <item>
      <title>Problem with batch Processing and processing all rows in Custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245327#M149072</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a component that needs the whole dataset to do some processing on it. One of the ways that I have gone forward is implementing batch processing and entering the&amp;nbsp;maxBatchSize&amp;nbsp;as the dataset size. So once the buffer size matches the &lt;SPAN&gt;maxBatchSize&lt;/SPAN&gt; I do the processing. However, I have been facing a couple of problems with the above approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. The&amp;nbsp;@AfterGroup method is executed twice once when buffer size is 100 and then when it reaches the maxBatchSize (that's when the processing happens as there is a check in the aftergroup). Any reasons why is the AfterGroup method executed twice? Also, can anyone shed some more light on the life-cycle of these methods:&lt;/P&gt;
&lt;P&gt;a. BeforeGroup&lt;/P&gt;
&lt;P&gt;b. ElementListener&lt;/P&gt;
&lt;P&gt;c. AfterGroup?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;Is there any way to determine the actual size of the input Dataset?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 14:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245327#M149072</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-02T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with batch Processing and processing all rows in Custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245328#M149073</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here&amp;nbsp;is documentation part that&amp;nbsp;explain&amp;nbsp;how the batch processing works in&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;talend&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;applicaitons&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;https&lt;/SPAN&gt;://talend.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="s-rg-t"&gt;github&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="s-rg-t"&gt;io/component-runtime/main/1.1&lt;/SPAN&gt;.2/concept-processor-and-batch-processing.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="s-rg-t"&gt;html&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally&amp;nbsp;the&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;BeforeGroup&lt;/SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;SPAN class="s-rg-t"&gt;AfterGroup&lt;/SPAN&gt;&amp;nbsp;methods&amp;nbsp;are&amp;nbsp;executed&amp;nbsp;every max batch size.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;And they can be executed a last time to process the renaming records from the pipeline.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;For&amp;nbsp;example&amp;nbsp;if&amp;nbsp;you&amp;nbsp;have&amp;nbsp;a max batch size of&amp;nbsp;&lt;SPAN class="s-or-t"&gt;3&lt;/SPAN&gt;&amp;nbsp;and&amp;nbsp;you&amp;nbsp;have&amp;nbsp;&lt;SPAN class="s-or-t"&gt;5&lt;/SPAN&gt;&amp;nbsp;records.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;The methods will be executed after the third record and also after the 5 record.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Normally, a processor doesn't have to be aware of the real size of the dataset.&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;If&amp;nbsp;you&amp;nbsp;really&amp;nbsp;need&amp;nbsp;this&amp;nbsp;information&amp;nbsp;in your&amp;nbsp;component&amp;nbsp;logic, as&amp;nbsp;it&amp;nbsp;may&amp;nbsp;be&amp;nbsp;a business&amp;nbsp;information,&amp;nbsp;you&amp;nbsp;may&amp;nbsp;calculate&amp;nbsp;it&amp;nbsp;in an input&amp;nbsp;component&amp;nbsp;and&amp;nbsp;passed&amp;nbsp;it&amp;nbsp;to the&amp;nbsp;processor.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 10:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245328#M149073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-22T10:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with batch Processing and processing all rows in Custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245329#M149074</link>
      <description>&lt;P&gt;Yeah it would make sense to execute the &lt;SPAN class="s-rg-t"&gt;AfterGroup&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method for every maxBatchSize and then the remaining bunch, but for me it executes it at 100 even when maxBatchSize&amp;gt;100.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 15:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245329#M149074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-22T15:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with batch Processing and processing all rows in Custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245330#M149075</link>
      <description>&lt;P&gt;What is your studio version ?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 15:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245330#M149075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-22T15:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with batch Processing and processing all rows in Custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245331#M149076</link>
      <description>V7.0.1</description>
      <pubDate>Mon, 22 Oct 2018 15:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245331#M149076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-22T15:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with batch Processing and processing all rows in Custom component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245332#M149077</link>
      <description>&lt;P&gt;Bulk processing was under development in 7.0.1 and it's prior versions.&lt;BR /&gt;You may need to upgrade your studio version to the latest up coming release to get the stable features.&lt;BR /&gt;Or, you can also get the latest milestone version from&amp;nbsp;&lt;A href="https://sourceforge.net/projects/talend-studio/files/Talend%20Open%20Studio/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://sourceforge.net/projects/talend-studio/files/Talend%20Open%20Studio/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 16:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-batch-Processing-and-processing-all-rows-in-Custom/m-p/2245332#M149077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-22T16:02:31Z</dc:date>
    </item>
  </channel>
</rss>

