<?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: Replicate header__timestamp Clarification in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1923602#M2497</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128304"&gt;@NewbieQlik&lt;/a&gt;&amp;nbsp; (why hide, why not at least provide a first name to address you properly !?)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You did not explicitly indicated whether the Insert and Update were part of a single transaction committed at the same time. Judging by the example they were.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800000"&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;My understanding was replicate internally uses&amp;nbsp;$AR_H_COMMIT_TIMESTAMP to populate header__timestamp column in __ct table,&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;What led you to believe that? The documentation explicitly indicates: "&lt;FONT color="#3366FF"&gt;[header__]timestamp&lt;/FONT&gt;&amp;nbsp; - The original &lt;STRONG&gt;change&lt;/STRONG&gt; UTC &lt;STRONG&gt;time&lt;/STRONG&gt;stamp&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;By contrast for "&lt;FONT color="#3366FF"&gt;[header__]change_seq&lt;/FONT&gt;" it indicates: "The time part usually refers to the &lt;STRONG&gt;commit&lt;/STRONG&gt; &lt;STRONG&gt;time&lt;/STRONG&gt; of the transaction that includes the &lt;STRONG&gt;change&lt;/STRONG&gt; record."&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800000"&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I have added a global transformation to get source oracle record commit timestamp using&amp;nbsp;$AR_H_COMMIT_TIMESTAMP.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;That may well be the best approach, based on the exact application requirements.&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 19:36:30 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2022-04-27T19:36:30Z</dc:date>
    <item>
      <title>Replicate header__timestamp Clarification</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1923015#M2486</link>
      <description>&lt;P&gt;I am replicating a table from Oracle source onto snowflake target where I have enabled the store changes. As part of replicate task I have added a global transformation to get source oracle record commit timestamp using&amp;nbsp;$AR_H_COMMIT_TIMESTAMP. When I tried to process few CDC changes where I have an INSERT followed by "UPDATE" and when that happened&amp;nbsp;$AR_H_COMMIT_TIMESTAMP shows same value for both insert and update and for some reason&amp;nbsp;header__timestamp shows&amp;nbsp;2022-04-20 20:30:04.000 for insert (EST time) and&amp;nbsp;2022-04-20 20:30:05.000 for update.&lt;/P&gt;
&lt;P&gt;My understanding was replicate internally uses&amp;nbsp;$AR_H_COMMIT_TIMESTAMP to populate header__timestamp column in __ct table, so in that case I should see the same value for both insert and update. Is this an expected behavior?&lt;/P&gt;
&lt;P&gt;header__operation/header__timestamp/Source_Record_Commit_TS&lt;/P&gt;
&lt;P&gt;INSERT/2022-04-20 20:30:04.000/2022-04-20 16:30:05.000&lt;BR /&gt;UPDATE/2022-04-20 20:30:05.000/2022-04-20 16:30:05.000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 19:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1923015#M2486</guid>
      <dc:creator>NewbieQlik</dc:creator>
      <dc:date>2022-04-26T19:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate header__timestamp Clarification</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1923021#M2487</link>
      <description>&lt;P&gt;&lt;SPAN&gt;AR_H_COMMIT_TIMESTAMP holds the datetime value when the record was committed at the source. Since insert and update were in succession and not at the same time, it's normal we see that one second difference between the two. if you notice the value for&amp;nbsp;Source_Record_Commit_TS it's consistent with when the record was last committed. Hope this makes sense.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 19:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1923021#M2487</guid>
      <dc:creator>shashi_holla</dc:creator>
      <dc:date>2022-04-26T19:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate header__timestamp Clarification</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1923602#M2497</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/128304"&gt;@NewbieQlik&lt;/a&gt;&amp;nbsp; (why hide, why not at least provide a first name to address you properly !?)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You did not explicitly indicated whether the Insert and Update were part of a single transaction committed at the same time. Judging by the example they were.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800000"&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;My understanding was replicate internally uses&amp;nbsp;$AR_H_COMMIT_TIMESTAMP to populate header__timestamp column in __ct table,&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;What led you to believe that? The documentation explicitly indicates: "&lt;FONT color="#3366FF"&gt;[header__]timestamp&lt;/FONT&gt;&amp;nbsp; - The original &lt;STRONG&gt;change&lt;/STRONG&gt; UTC &lt;STRONG&gt;time&lt;/STRONG&gt;stamp&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;By contrast for "&lt;FONT color="#3366FF"&gt;[header__]change_seq&lt;/FONT&gt;" it indicates: "The time part usually refers to the &lt;STRONG&gt;commit&lt;/STRONG&gt; &lt;STRONG&gt;time&lt;/STRONG&gt; of the transaction that includes the &lt;STRONG&gt;change&lt;/STRONG&gt; record."&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#800000"&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;I have added a global transformation to get source oracle record commit timestamp using&amp;nbsp;$AR_H_COMMIT_TIMESTAMP.&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;That may well be the best approach, based on the exact application requirements.&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 19:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1923602#M2497</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-04-27T19:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Replicate header__timestamp Clarification</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1929556#M2644</link>
      <description>&lt;P&gt;Thanks for the clarification&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 01:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Replicate-header-timestamp-Clarification/m-p/1929556#M2644</guid>
      <dc:creator>NewbieQlik</dc:creator>
      <dc:date>2022-05-12T01:48:59Z</dc:date>
    </item>
  </channel>
</rss>

