<?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: CDCT column transformation in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120290#M7384</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/238493"&gt;@AnujGupta&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Let's use Oracle as source endpoint and SQL Server acts as target endpoint to demonstrate how the CDCT column reflects the latest update time.&lt;/P&gt;
&lt;P&gt;1. In table transformation (or global transformation) add an additional column, CDCT&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1695197449080.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116635iDC42704F06E8825D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1695197449080.png" alt="john_wang_0-1695197449080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The expression of CDCT is:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;datetime('now','localtime')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1695197494133.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116637i385B23896299B3AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1695197494133.png" alt="john_wang_1-1695197494133.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Startup the task with Full Load and CDC enabled:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_2-1695197559395.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116638i67FC5D7797B00350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_2-1695197559395.png" alt="john_wang_2-1695197559395.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. After the full load done, we see all rows contains the timestamp, it's the full load time - in accurate, it's the Replicate Server Local time in the first picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; After an update applied to target, then you can see the CDCT value changed (where id = 2), see the second picture in below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1695197880794.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116640iAAC1AAF1062FF6B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1695197880794.png" alt="john_wang_0-1695197880794.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1695197891781.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116641i0B1A383CACAAACA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1695197891781.png" alt="john_wang_1-1695197891781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2023 08:18:44 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2023-09-20T08:18:44Z</dc:date>
    <item>
      <title>CDCT column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120225#M7381</link>
      <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have configured Qlik task source as a orcale and sink as azure databricks. However, I have added one column CDCT values as&amp;nbsp;&lt;SPAN class="ellipsisStyle ng-binding" title="datetime()"&gt;datetime(). I need to understand if any insert, updates happened I will assume cdct values will change to current datetime so that I can use CDCT column in other transformations.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Is my understanding is correct ?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnujGupta_0-1695191466228.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116623i2CBCDDE34E7D6A37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AnujGupta_0-1695191466228.png" alt="AnujGupta_0-1695191466228.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anuj&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 06:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120225#M7381</guid>
      <dc:creator>AnujGupta</dc:creator>
      <dc:date>2023-09-20T06:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: CDCT column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120246#M7382</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/238493"&gt;@AnujGupta&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You are right. You may add such a column in target side table (which does not exist in source table) to reflect the latest update time of the record.&lt;/P&gt;
&lt;P&gt;The expression can be :&amp;nbsp;&lt;FONT face="courier new,courier"&gt;datetime('now','localtime')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Are you facing any difficulties now?&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 07:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120246#M7382</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-09-20T07:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: CDCT column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120254#M7383</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnujGupta_0-1695194207787.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116630iF5F1B698DAA7EB9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AnujGupta_0-1695194207787.png" alt="AnujGupta_0-1695194207787.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When I go to Apply changes log it say table are continuously doing Insert/updates but when I am checking my max(cdct) it is same. Not sure if I missed something.&amp;nbsp; Ideally if Monitor table is showing some updates --&amp;gt; cdct should also change continuously but it is not happening properly. Also 11:11AM is last modified on which date it is not menioned in logs shall I assume it should be 20th sep 2023.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 07:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120254#M7383</guid>
      <dc:creator>AnujGupta</dc:creator>
      <dc:date>2023-09-20T07:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: CDCT column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120290#M7384</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/238493"&gt;@AnujGupta&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Let's use Oracle as source endpoint and SQL Server acts as target endpoint to demonstrate how the CDCT column reflects the latest update time.&lt;/P&gt;
&lt;P&gt;1. In table transformation (or global transformation) add an additional column, CDCT&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1695197449080.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116635iDC42704F06E8825D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1695197449080.png" alt="john_wang_0-1695197449080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; The expression of CDCT is:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;datetime('now','localtime')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1695197494133.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116637i385B23896299B3AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1695197494133.png" alt="john_wang_1-1695197494133.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Startup the task with Full Load and CDC enabled:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_2-1695197559395.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116638i67FC5D7797B00350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_2-1695197559395.png" alt="john_wang_2-1695197559395.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. After the full load done, we see all rows contains the timestamp, it's the full load time - in accurate, it's the Replicate Server Local time in the first picture.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; After an update applied to target, then you can see the CDCT value changed (where id = 2), see the second picture in below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1695197880794.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116640iAAC1AAF1062FF6B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1695197880794.png" alt="john_wang_0-1695197880794.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1695197891781.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116641i0B1A383CACAAACA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1695197891781.png" alt="john_wang_1-1695197891781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 08:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2120290#M7384</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-09-20T08:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: CDCT column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2122767#M7443</link>
      <description>&lt;P&gt;Yes, it is clear for me.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 05:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2122767#M7443</guid>
      <dc:creator>AnujGupta</dc:creator>
      <dc:date>2023-09-27T05:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: CDCT column transformation</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2122819#M7447</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello Team,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;If our response has been helpful, please consider clicking "Accept as Solution". This will assist other users in easily finding the answer.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;reagrds,&lt;BR /&gt;Sushil Kumar&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 06:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/CDCT-column-transformation/m-p/2122819#M7447</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2023-09-27T06:56:11Z</dc:date>
    </item>
  </channel>
</rss>

