<?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 Qlik: Timestamp data type issue in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Qlik-Timestamp-data-type-issue/m-p/2057620#M897</link>
    <description>&lt;P&gt;I am fairly new to Qlik.&lt;/P&gt;
&lt;P&gt;Using Qlik replicate to load data from DB2 to Snowflake.&lt;/P&gt;
&lt;P&gt;One of the tables that I am loading have timestamp datatype with length 13 in the source DB2 table.&lt;/P&gt;
&lt;P&gt;When Qlik task runs its unable to create the table in Snowflake.&lt;/P&gt;
&lt;P&gt;Qlik builds the create statement as below (the last 2 columns which have TIMESTAMP(13) datatype in DB2 do not have a datatype in the create statement that Qlik builds)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CREATE TABLE "SCHEMA_NAME"."TABLE_NAME" ( "ID" VARCHAR(19), "ACCT_NUM" NUMBER(15,0), "STAT_CD" VARCHAR(5), "DSPLY_TXT" VARCHAR(200), "RSN_CD" VARCHAR(5), "CREATION_TIMESTAMP" TIMESTAMP(6), "UPDATE_TIMESTAMP" TIMESTAMP(6), "START_TIMESTAMP" , "END_TIMESTAMP" )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the source table/column datatype is TIMESTAMP(11) it is translated to TIMESTAMP(6) whereas&amp;nbsp;TIMESTAMP(13) columns are not associated to a datatype when Qlik tries to create the table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error Message:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; CREATE TABLE "SCHEMA_NAME"."TABLE_NAME" ( "ID" VARCHAR(19), "ACCT_NUM" NUMBER(15,0), "STAT_CD" VARCHAR(5), "DSPLY_TXT" VARCHAR(200), "RSN_CD" VARCHAR(5), "CREATION_TIMESTAMP" TIMESTAMP(6), "UPDATE_TIMESTAMP" TIMESTAMP(6), "START_TIMESTAMP" , "END_TIMESTAMP" ) [1022505] (cloud_imp.c:4160)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[TARGET_LOAD ]E: Error executing data handler [1022505] (streamcomponent.c:1998)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[TARGET_LOAD ]E: RetCode: SQL_ERROR SqlState: 42000 NativeError: 1003 Message: SQL compilation error:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the DESIGNER - TABLE SETTINGS - TRANSFORM tried to change the datatype to DATETIME(6) similar to other TIMESTAMP columns, still getting the same error.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 23:04:08 GMT</pubDate>
    <dc:creator>RamKri</dc:creator>
    <dc:date>2025-03-19T23:04:08Z</dc:date>
    <item>
      <title>Qlik: Timestamp data type issue</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Qlik-Timestamp-data-type-issue/m-p/2057620#M897</link>
      <description>&lt;P&gt;I am fairly new to Qlik.&lt;/P&gt;
&lt;P&gt;Using Qlik replicate to load data from DB2 to Snowflake.&lt;/P&gt;
&lt;P&gt;One of the tables that I am loading have timestamp datatype with length 13 in the source DB2 table.&lt;/P&gt;
&lt;P&gt;When Qlik task runs its unable to create the table in Snowflake.&lt;/P&gt;
&lt;P&gt;Qlik builds the create statement as below (the last 2 columns which have TIMESTAMP(13) datatype in DB2 do not have a datatype in the create statement that Qlik builds)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;CREATE TABLE "SCHEMA_NAME"."TABLE_NAME" ( "ID" VARCHAR(19), "ACCT_NUM" NUMBER(15,0), "STAT_CD" VARCHAR(5), "DSPLY_TXT" VARCHAR(200), "RSN_CD" VARCHAR(5), "CREATION_TIMESTAMP" TIMESTAMP(6), "UPDATE_TIMESTAMP" TIMESTAMP(6), "START_TIMESTAMP" , "END_TIMESTAMP" )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the source table/column datatype is TIMESTAMP(11) it is translated to TIMESTAMP(6) whereas&amp;nbsp;TIMESTAMP(13) columns are not associated to a datatype when Qlik tries to create the table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error Message:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; CREATE TABLE "SCHEMA_NAME"."TABLE_NAME" ( "ID" VARCHAR(19), "ACCT_NUM" NUMBER(15,0), "STAT_CD" VARCHAR(5), "DSPLY_TXT" VARCHAR(200), "RSN_CD" VARCHAR(5), "CREATION_TIMESTAMP" TIMESTAMP(6), "UPDATE_TIMESTAMP" TIMESTAMP(6), "START_TIMESTAMP" , "END_TIMESTAMP" ) [1022505] (cloud_imp.c:4160)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[TARGET_LOAD ]E: Error executing data handler [1022505] (streamcomponent.c:1998)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[TARGET_LOAD ]E: RetCode: SQL_ERROR SqlState: 42000 NativeError: 1003 Message: SQL compilation error:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the DESIGNER - TABLE SETTINGS - TRANSFORM tried to change the datatype to DATETIME(6) similar to other TIMESTAMP columns, still getting the same error.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 23:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Qlik-Timestamp-data-type-issue/m-p/2057620#M897</guid>
      <dc:creator>RamKri</dc:creator>
      <dc:date>2025-03-19T23:04:08Z</dc:date>
    </item>
  </channel>
</rss>

