<?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 capture last row in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304734#M76475</link>
    <description>Hi, 
&lt;BR /&gt;Try this 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCr3TCAS" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-How-can-I-store-the-Last-row-in-another-table-also/td-p/113069&lt;/A&gt;</description>
    <pubDate>Tue, 13 Mar 2012 18:40:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-13T18:40:36Z</dc:date>
    <item>
      <title>how to capture last row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304731#M76472</link>
      <description>I have a Talend job that generates sequence values. So for each row, the value of the column "key" increments 1, 2, 3, 4,... n.&lt;BR /&gt;I need to capture the last value (n) and store it in a database table. What is the best way to do that?&lt;BR /&gt;In Kettle you would use the Blocking step for this.&lt;BR /&gt;Thanks&lt;BR /&gt;Geoffrey</description>
      <pubDate>Sat, 16 Nov 2024 13:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304731#M76472</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to capture last row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304732#M76473</link>
      <description>Hello 
&lt;BR /&gt;Define a context var, let's calle it: lastValue, add a tJavaRow in your job and type in, for example:
&lt;BR /&gt;output_row.id=input_row.id;
&lt;BR /&gt;output_row.name=input_row.name;
&lt;BR /&gt;context.lastValue=context.lastValue+1;
&lt;BR /&gt;the value of var will add 1 when each row pass on tJavaRow and finally stroe it into db.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 21 Aug 2009 03:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304732#M76473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-21T03:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to capture last row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304733#M76474</link>
      <description>Hi,&lt;BR /&gt;Although this is a very post, I have the same issue. I am trying to transfer an ETL transformation from Spoon to Talend and I am trying to find a workaround to  implement what the Blocking Step of Spoon does which is basically it blocks until all rows have been processed and all subsequent steps receive the last input row to this step. &lt;BR /&gt;&lt;BR /&gt;The workaround with introducing the lastValue variable is a way to count the rows processed but how I can block the execution until all rows have been processed and pass only the last row?&lt;BR /&gt;Is there any equivalent step?&lt;BR /&gt;Thank you.</description>
      <pubDate>Tue, 13 Mar 2012 17:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304733#M76474</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-03-13T17:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to capture last row</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304734#M76475</link>
      <description>Hi, 
&lt;BR /&gt;Try this 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCr3TCAS" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-How-can-I-store-the-Last-row-in-another-table-also/td-p/113069&lt;/A&gt;</description>
      <pubDate>Tue, 13 Mar 2012 18:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-capture-last-row/m-p/2304734#M76475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-13T18:40:36Z</dc:date>
    </item>
  </channel>
</rss>

