<?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: Run Talend based on last Date/Time field in the database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Run-Talend-based-on-last-Date-Time-field-in-the-database/m-p/2308452#M79777</link>
    <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;In the beginning of job, select the last datetime(i.e 2022-06-20 20:30:00) from target table and store the value to a context variable, this value will be used as filter condition for input data, provided that the input data also has a datetime field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2022 07:41:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-07-04T07:41:13Z</dc:date>
    <item>
      <title>Run Talend based on last Date/Time field in the database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Run-Talend-based-on-last-Date-Time-field-in-the-database/m-p/2308451#M79776</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have a table within the data warehouse which has a datetime field (upload_datetime)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As it stands, I have just done an insert of data so I have all of the data as 2022-06-20 20:30:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This table has c. 500k records. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to do is to update or insert on the next run, but don't want to have to process the full data again if at all possible. What I was hoping to do would be to just update or insert where the datetime field field is greater than that last datetime (i.e 2022-06-20 20:30:00) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible please, or if not, how can I better the performance of each refresh as this table will update every half an hour and to check back through that many records is too time consuming. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;This is my job design:&lt;/U&gt; &lt;/B&gt;TDBInput ---------&amp;gt; TMap ---------&amp;gt; TDBOutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Run-Talend-based-on-last-Date-Time-field-in-the-database/m-p/2308451#M79776</guid>
      <dc:creator>thomas_2583</dc:creator>
      <dc:date>2024-11-15T22:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Run Talend based on last Date/Time field in the database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Run-Talend-based-on-last-Date-Time-field-in-the-database/m-p/2308452#M79777</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;In the beginning of job, select the last datetime(i.e 2022-06-20 20:30:00) from target table and store the value to a context variable, this value will be used as filter condition for input data, provided that the input data also has a datetime field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 07:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Run-Talend-based-on-last-Date-Time-field-in-the-database/m-p/2308452#M79777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-04T07:41:13Z</dc:date>
    </item>
  </channel>
</rss>

