<?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: Implementing Incremental Load in My Staging Layer in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214651#M11400</link>
    <description>&lt;P&gt;Hello Friends,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please help. I have a deadline to meet &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;Can you please share/show how to define context? and how to update tJavaRow component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Presently, the tJavaRow component is :&lt;/P&gt; 
&lt;P&gt;context.last_run = input_row.Incremental_at;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and defined&amp;nbsp;last_run as datatype "date" with no values assigned. Is this correct?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2020 16:50:20 GMT</pubDate>
    <dc:creator>sushantk19</dc:creator>
    <dc:date>2020-04-21T16:50:20Z</dc:date>
    <item>
      <title>Implementing Incremental Load in My Staging Layer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214648#M11397</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have to Implement Incremental Load in my Staging Layer. I have used the field Updated_at(date field) from source table to do this. After loading the data in my stage table, I update my Stage Incremental Table (externally created in database as mentioned in some of the posts)&amp;nbsp; with latest update_at date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now i have to use this date for future purpose to extract incremental data. I want to create a context and pass this date value to context and then use this context&amp;nbsp; in my source query. How can i do this? basically how do we define contexts which can store date value from my incremental Stage table?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214648#M11397</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2024-11-16T02:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Incremental Load in My Staging Layer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214649#M11398</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQvwAAG"&gt;@sushantk19&lt;/A&gt;, read the date value-form DB using tdbinput &amp;gt;&amp;gt;main connected tjavarow and you can set context variable like below. you need to create a context in context tab.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;context.last_updated_date=row1.date;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;from the above job you use on subjob ok and implement the main flow in the tDBInput that query.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"select * from where date&amp;gt;+context.last_updated_date"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 12:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214649#M11398</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-20T12:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Incremental Load in My Staging Layer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214650#M11399</link>
      <description>&lt;P&gt;Please see the screenshots attached. I have tried to implement as you have mentioned above, but gives an error like I am passing NULL value to Context variable Last_run. what value should i put there?&lt;/P&gt;&lt;P&gt;Also, if i make the context variable as "String" instead of date and pass some date value to it, it doesnt pass that value through tJAVA component.can u please check and suggest?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LyQF"&gt;context_defination.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LyQT"&gt;extracting_source.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LyI3"&gt;Source_Query.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LyLj"&gt;tjava transformation.png&lt;/A&gt;</description>
      <pubDate>Mon, 20 Apr 2020 16:22:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214650#M11399</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-04-20T16:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Incremental Load in My Staging Layer</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214651#M11400</link>
      <description>&lt;P&gt;Hello Friends,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please help. I have a deadline to meet &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;Can you please share/show how to define context? and how to update tJavaRow component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Presently, the tJavaRow component is :&lt;/P&gt; 
&lt;P&gt;context.last_run = input_row.Incremental_at;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and defined&amp;nbsp;last_run as datatype "date" with no values assigned. Is this correct?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 16:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Implementing-Incremental-Load-in-My-Staging-Layer/m-p/2214651#M11400</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2020-04-21T16:50:20Z</dc:date>
    </item>
  </channel>
</rss>

