<?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: Issue with replicating 'timestamp with timezone' data type in a PostgreSQL to PostgreSQL environment. in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Issue-with-replicating-timestamp-with-timezone-data-type-in-a/m-p/2109824#M7120</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/88125"&gt;@khchoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The parameter "&lt;SPAN&gt;calculateTimestampWithZone"&lt;/SPAN&gt; serves the purpose of resolving an issue related to incorrect replication of timestamptz values when a connection between the source database is disrupted. By default, this parameter is enabled.&lt;/P&gt;
&lt;P&gt;As you mentioned in the post, the timestamptz value is cast as&amp;nbsp;&lt;SPAN&gt;AT TIME ZONE 'UTC' in the SQL statement. It is hard-coded and cannot be modified or worked around. Please submit your request in the &lt;A href="https://community.qlik.com/t5/About-Ideation/ct-p/qlik-aboutideation" target="_blank" rel="noopener"&gt;Ideation&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Desmond&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 08:25:39 GMT</pubDate>
    <dc:creator>DesmondWOO</dc:creator>
    <dc:date>2023-08-25T08:25:39Z</dc:date>
    <item>
      <title>Issue with replicating 'timestamp with timezone' data type in a PostgreSQL to PostgreSQL environment.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Issue-with-replicating-timestamp-with-timezone-data-type-in-a/m-p/2109731#M7112</link>
      <description>&lt;P&gt;Hi&amp;nbsp; All,&lt;/P&gt;
&lt;P&gt;When replicating from PostgreSQL to PostgreSQL, there seems to be an issue with replicating the 'timestamp with timezone' data type. The problem is that the data is always reflected in the target as UTC time values. Is this an unsupported behavior?&lt;/P&gt;
&lt;P&gt;In the case of Full Loading, when retrieving data, it appears that the data is forcefully converted to UTC, similar to logs. For CDC, since the stored values are already in UTC, they are retrieved as is.&lt;/P&gt;
&lt;P&gt;00037280: 2023-08-22T16:48:43:8506 [SOURCE_UNLOAD ]V: Execute: 'SELECT "key_col","col_timestamp_1", cast("col_timestamptz" AT TIME ZONE 'UTC' as timestamp without time zone) FROM "test"."tb_timstamp"' (ar_odbc_stmt.c:2741)&lt;/P&gt;
&lt;P&gt;Is it possible to control these processes with a specific parameter toggle (ON/OFF)? Also, could you please explain the purpose of the internal parameter 'calculateTimestampWithZone'?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Kwang Ho&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 00:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Issue-with-replicating-timestamp-with-timezone-data-type-in-a/m-p/2109731#M7112</guid>
      <dc:creator>khchoy</dc:creator>
      <dc:date>2023-08-25T00:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with replicating 'timestamp with timezone' data type in a PostgreSQL to PostgreSQL environment.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Issue-with-replicating-timestamp-with-timezone-data-type-in-a/m-p/2109785#M7117</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/88125"&gt;@khchoy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;PostgreSQL has timestamp datatype that has no time zone information and timestamptz datatype that always store date time information in UTC value, both are in 8 bytes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Refer:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-timestamp/" target="_blank"&gt;https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-timestamp/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://www.postgresql.org/docs/current/datatype-datetime.html" target="_blank"&gt;https://www.postgresql.org/docs/current/datatype-datetime.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 06:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Issue-with-replicating-timestamp-with-timezone-data-type-in-a/m-p/2109785#M7117</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2023-08-25T06:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with replicating 'timestamp with timezone' data type in a PostgreSQL to PostgreSQL environment.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Issue-with-replicating-timestamp-with-timezone-data-type-in-a/m-p/2109824#M7120</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/88125"&gt;@khchoy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The parameter "&lt;SPAN&gt;calculateTimestampWithZone"&lt;/SPAN&gt; serves the purpose of resolving an issue related to incorrect replication of timestamptz values when a connection between the source database is disrupted. By default, this parameter is enabled.&lt;/P&gt;
&lt;P&gt;As you mentioned in the post, the timestamptz value is cast as&amp;nbsp;&lt;SPAN&gt;AT TIME ZONE 'UTC' in the SQL statement. It is hard-coded and cannot be modified or worked around. Please submit your request in the &lt;A href="https://community.qlik.com/t5/About-Ideation/ct-p/qlik-aboutideation" target="_blank" rel="noopener"&gt;Ideation&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Desmond&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 08:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Issue-with-replicating-timestamp-with-timezone-data-type-in-a/m-p/2109824#M7120</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2023-08-25T08:25:39Z</dc:date>
    </item>
  </channel>
</rss>

