<?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: Update destination table only if any values changes in the source columns (not using CDC) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261033#M41956</link>
    <description>&lt;P&gt;Dear Mano,&lt;/P&gt;
&lt;P&gt;Actually i want to achieve what CDC does. can you pls let me the expression i should put based on my source data in my question thread.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2020 06:48:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-03-23T06:48:34Z</dc:date>
    <item>
      <title>Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261029#M41952</link>
      <description>&lt;P&gt;Experts,&lt;/P&gt; 
&lt;P&gt;I am using TOS DI and would like to achieve the below use case.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Source:table1&lt;/P&gt; 
&lt;P&gt;ID,Flag&lt;/P&gt; 
&lt;P&gt;1,A&lt;/P&gt; 
&lt;P&gt;2,B&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Run1:&lt;/P&gt; 
&lt;P&gt;Destination:table1_stg&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1,A&lt;/P&gt; 
&lt;P&gt;2,E&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Run2: (no change for existing records but one new record is new)&lt;/P&gt; 
&lt;P&gt;ID,Flag&lt;/P&gt; 
&lt;P&gt;1,A&lt;/P&gt; 
&lt;P&gt;2,E&lt;/P&gt; 
&lt;P&gt;3,E&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;(**** as per the current job flow, tDBInput-&amp;gt;tMap-&amp;gt;(1)tDBOutput(insertflow) -&amp;gt; (2)tDBOutput(updateflow). actually the new records goes in insert flow at the same time there old 2 records also goes in updateflow but there is no change)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Run3: (no change for existing records but one new record is new)&lt;/P&gt; 
&lt;P&gt;ID,Flag&lt;/P&gt; 
&lt;P&gt;1,E&lt;/P&gt; 
&lt;P&gt;2,E&lt;/P&gt; 
&lt;P&gt;3,E&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;(**** this time all three goes in update flow, yes this is ok)&lt;/P&gt; 
&lt;P&gt;But Run2 how to stop going the updateflow if there is no change in the source data?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-03-22 at 1.45.01 AM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9pe.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154550i030E821C6EBD0A64/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9pe.png" alt="0683p000009M9pe.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 20:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261029#M41952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-21T20:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261030#M41953</link>
      <description>You need to certain two separate flows ,one for new and another one for to update the using one tmap in tmap you need to specify the exact change like I'd from look-up table is not null and flag not equals from look-up you need to enable the expression section.</description>
      <pubDate>Sun, 22 Mar 2020 06:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261030#M41953</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-03-22T06:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261031#M41954</link>
      <description>&lt;P&gt;Dear Mano,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank your info, i have tried the same... the issue is even there is no change in the source data the update flow is updating all the records.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 08:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261031#M41954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-22T08:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261032#M41955</link>
      <description>Then,I believe you have not written enable or disable expression,what expression you have used.</description>
      <pubDate>Mon, 23 Mar 2020 03:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261032#M41955</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-03-23T03:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261033#M41956</link>
      <description>&lt;P&gt;Dear Mano,&lt;/P&gt;
&lt;P&gt;Actually i want to achieve what CDC does. can you pls let me the expression i should put based on my source data in my question thread.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 06:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261033#M41956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-23T06:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261034#M41957</link>
      <description>You need to implement for all CDC logic's like new, update and delete? For new and update create one flow and for delete create separate flow. To update you do look up on key and then you mention the expression for the update output in Tampa like row2.key is not null and row1.column1 not equals to row2.column1. here row1 is main and row2 is look-up.</description>
      <pubDate>Mon, 23 Mar 2020 12:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261034#M41957</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-03-23T12:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261035#M41958</link>
      <description>&lt;P&gt;But where to set that if the conditions are true then only put the UPDATE operation?&lt;/P&gt;&lt;P&gt;@sen kum​&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Manohar B​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 14:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261035#M41958</guid>
      <dc:creator>raowaqasakram</dc:creator>
      <dc:date>2022-07-21T14:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261036#M41959</link>
      <description>&lt;P&gt;@Rao Waqas Akram​&amp;nbsp;, you need to check the if condition in tmap output section, enable/disable filter section.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 14:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261036#M41959</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2022-07-21T14:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Update destination table only if any values changes in the source columns (not using CDC)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261037#M41960</link>
      <description>&lt;P&gt;thanks alot @Manohar B​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 17:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-destination-table-only-if-any-values-changes-in-the/m-p/2261037#M41960</guid>
      <dc:creator>raowaqasakram</dc:creator>
      <dc:date>2022-07-21T17:22:08Z</dc:date>
    </item>
  </channel>
</rss>

