<?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: Task failing with clob column in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2475458#M12318</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Qlik Replicate does support replicating CLOB column into Snowflake. To understand the issue better please open a support ticket with us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Suresh&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2024 02:05:28 GMT</pubDate>
    <dc:creator>sureshkumar</dc:creator>
    <dc:date>2024-08-09T02:05:28Z</dc:date>
    <item>
      <title>Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2466783#M11750</link>
      <description>&lt;P&gt;We have a table EX92. The column MSGTEXT is a CLOB. The source endpoint is MySQL 8 and target endpoint is Snowflake AWS.&lt;/P&gt;
&lt;P&gt;Do you know how to fix this error? I have tried numerous time to reload but kept on failing.&lt;/P&gt;
&lt;P&gt;Table 'DB'.'EX92' (subtask 12 thread 1) is suspended. Failed (retcode -1) to execute statement: COPY INTO "LZ_SCHEMA"."EX92"("COL1","COL2","COL3", "MSGTEXT") FROM (select $1, $2, $3, $4, $5, $6, $7, $8, $9 FROM '@"PROD"."LZ_LEGACY"."ATTREP_IS_PROD_08634774_a961_0b47_abb5_3c4361aa4a27"/3/12/') files = ('LOAD00000001.csv.gz') force=true; RetCode: SQL_ERROR SqlState: 22000 NativeError: 100078 Message: String 'HEADER&lt;BR /&gt;Print Date: Jan 06, 2020 06:13:45 AM&lt;/P&gt;
&lt;P&gt;DBK304H1 - Header Record&lt;BR /&gt;ORDER NUMBER :' is too long and would be truncated&lt;BR /&gt;File '3/12/LOAD00000001.csv.gz', line 5988429, character 82&lt;BR /&gt;Row 52715, column "EX92"["MSGTEXT":9]&lt;BR /&gt;If you would like to continue loading when an error is encountered, use other values such as 'SKIP_FILE' or 'CONTINUE' for the ON_ERROR option. For more information on loading options, please run 'info loading_data' in a SQL client.; Failed (retcode -1) to execute statement: COPY INTO "LZ_SCHEMA"&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 09:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2466783#M11750</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2024-07-01T09:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2466785#M11751</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Compare&amp;nbsp;&lt;SPAN&gt;column "EX92" datatype length at the MYSQL Source and at the Snowflake target end.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can also reproduce the issue with SOURCE_UNLOAD and TARGET_LOAD&amp;nbsp; set to VERBOSE and check for what reason the task is failing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And also enable internal parameters keepCSVFiles and keepErrorFiles to check how the data is replicating.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Suresh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 09:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2466785#M11751</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-07-01T09:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2466833#M11753</link>
      <description>&lt;P&gt;It's happening in the CONO92 column which is a primary key. Transformation screen says it uses WSTRING(4).&lt;/P&gt;
&lt;P&gt;ATTREP_IS_PROD_e402d77b_6838_b648_825e_2cb5b5669bf6"/1/16/') files = ('LOAD00000001.csv.gz') force=true; RetCode: SQL_ERROR SqlState: 22000 NativeError: 100072 Message: NULL result in a non-nullable column&lt;BR /&gt;File '1/16/LOAD00000001.csv.gz', line 1, character 1&lt;BR /&gt;Row 1, column "EX92"["CONO92":1]&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 12:20:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2466833#M11753</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2024-07-01T12:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2467582#M11801</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"NULL result in a non-nullable column" issue&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;please add the following Internal parameter to the snowflake endpoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;emptyFieldAsNull&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Suresh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 11:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2467582#M11801</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-07-03T11:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2467588#M11802</link>
      <description>&lt;P&gt;We are already using "emptyFieldAsNull" over at Snowflake internal parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 11:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2467588#M11802</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2024-07-03T11:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2468100#M11844</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You still facing the issue even after enabling the internal parameter then kindly check the Constraints defined in both Source and target DB.&lt;/P&gt;
&lt;P&gt;OR You can create a support ticket with us to understand the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 17:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2468100#M11844</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-07-04T17:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2475392#M12313</link>
      <description>&lt;P&gt;The target endpoing is Snowflake. Could it be Qlik replicate doesn't support replicating CLOB into Snowflake?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 15:49:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2475392#M12313</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2024-08-08T15:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2475458#M12318</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2924"&gt;@desmondchew&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Qlik Replicate does support replicating CLOB column into Snowflake. To understand the issue better please open a support ticket with us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 02:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2475458#M12318</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2024-08-09T02:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Task failing with clob column</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2475465#M12319</link>
      <description>&lt;P&gt;&lt;FONT color="#808080"&gt;&amp;gt;&amp;gt;&amp;nbsp;It's happening in the CONO92 column which is a primary key. Transformation screen says it uses &amp;gt;&amp;gt; WSTRING(4).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&amp;gt;&amp;gt; ATTREP_IS_PROD_e402d77b_6838_b648_825e_2cb5b5669bf6"/1/16/') files = ('LOAD00000001.csv.gz') force=true; RetCode: SQL_ERROR SqlState: 22000 NativeError: 100072 Message: NULL result in a non-nullable column&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;File '1/16/LOAD00000001.csv.gz', line 1, character 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;Row 1, column "EX92"["CONO92":1]&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;IN target table the column EX92 is defined as NON-NULLABLE however the value sending to it is NULL, so you may use table level, or global level transformation to convert the NULL to a single space, for example:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ifnull($EX92,' ')&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;there is a space in the single quotes.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 02:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Task-failing-with-clob-column/m-p/2475465#M12319</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-08-09T02:51:32Z</dc:date>
    </item>
  </channel>
</rss>

