<?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: Some rows failed to load due to date timestamp error from MySQL in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508903#M13848</link>
    <description>&lt;P&gt;Hello Desmond,&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;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P data-start="76" data-end="186"&gt;Could you please confirm whether the CSV file contains an invalid DATE value: &lt;CODE data-start="154" data-end="183"&gt;'2031-07-&lt;STRONG&gt;00&lt;/STRONG&gt; 00:00:00&lt;STRONG&gt;.00000&lt;/STRONG&gt;'&lt;/CODE&gt;? Looks to me the error caused by the zero date.&lt;/P&gt;
&lt;P data-start="188" data-end="242"&gt;Based on the error message, the issue is located at:&lt;/P&gt;
&lt;UL data-start="243" data-end="394"&gt;
&lt;LI data-start="243" data-end="281"&gt;&lt;FONT face="courier new,courier"&gt;File '20/LOAD00000001.csv.gz', line 624212, character 46&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Row 624212, column ""TableXYZ""["DateTimeStampAL":5]&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="396" data-end="450"&gt;To retrieve the CSV file, please follow these steps:&lt;/P&gt;
&lt;OL data-start="452" data-end="611"&gt;
&lt;LI data-start="452" data-end="534"&gt;Set &lt;STRONG data-start="459" data-end="475"&gt;keepCSVFiles&lt;/STRONG&gt; and &lt;STRONG data-start="480" data-end="498"&gt;keepErrorFiles&lt;/STRONG&gt; to &lt;STRONG&gt;True&lt;/STRONG&gt; in the target endpoint.&lt;/LI&gt;
&lt;LI data-start="535" data-end="560"&gt;Reproduce the issue.&lt;/LI&gt;
&lt;LI data-start="561" data-end="611"&gt;Locate and review the corresponding CSV file.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="613" data-end="785"&gt;If the CSV file contains an invalid DATE value, we would prefer to resolve the issue at the source side rather than applying transformations to modify the value at the target side.&lt;/P&gt;
&lt;P data-start="787" data-end="833" data-is-last-node="" data-is-only-node=""&gt;Let me know if you need further clarification.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 02:49:21 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2025-03-10T02:49:21Z</dc:date>
    <item>
      <title>Some rows failed to load due to date timestamp error from MySQL</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508900#M13847</link>
      <description>&lt;P&gt;I have a new task loading from MySQL 8 on premise into Snowflake AWS. The task run for several hours before failing. The error is related to a column Timestamp - "DateTimeStampAL"&lt;/P&gt;
&lt;P&gt;I am attaching the error here. Can I know how to workaround this record? Can I apply transformation? If so, could you please share the transformation script?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ERROR LOG:&lt;/P&gt;
&lt;P&gt;Table 'SCHEMA'.'Log' (subtask 1 thread 1) is suspended. Failed (retcode -1) to execute statement: COPY INTO "LZ_SCHEMA"."TableXYZ"("CONOAL", "SKEYAL", "COL3", "COL4", "DateTimeStampAL", "ActionAL") FROM (select $1, $2, $3, $4, $5, $6 FROM '@"PROD"."LZ_LEGACYSCH"."ATTREP_IS_PROD_2047810c_2549_e349_84cd_7137febe4647"/20/') files = ('LOAD00000001.csv.gz') force=true; RetCode: SQL_ERROR SqlState: 22007 NativeError: 100035 Message: Timestamp '2031-07-00 00:00:00.00000' is not recognized&lt;BR /&gt;File '20/LOAD00000001.csv.gz', line 624212, character 46&lt;BR /&gt;Row 624212, column ""TableXYZ""["DateTimeStampAL":5]&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"."TableXYZ"("COL1", "COL2", "COL3", "COL4", "DateTimeStampAL", "ActionAL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 02:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508900#M13847</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2025-03-10T02:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Some rows failed to load due to date timestamp error from MySQL</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508903#M13848</link>
      <description>&lt;P&gt;Hello Desmond,&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;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P data-start="76" data-end="186"&gt;Could you please confirm whether the CSV file contains an invalid DATE value: &lt;CODE data-start="154" data-end="183"&gt;'2031-07-&lt;STRONG&gt;00&lt;/STRONG&gt; 00:00:00&lt;STRONG&gt;.00000&lt;/STRONG&gt;'&lt;/CODE&gt;? Looks to me the error caused by the zero date.&lt;/P&gt;
&lt;P data-start="188" data-end="242"&gt;Based on the error message, the issue is located at:&lt;/P&gt;
&lt;UL data-start="243" data-end="394"&gt;
&lt;LI data-start="243" data-end="281"&gt;&lt;FONT face="courier new,courier"&gt;File '20/LOAD00000001.csv.gz', line 624212, character 46&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Row 624212, column ""TableXYZ""["DateTimeStampAL":5]&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="396" data-end="450"&gt;To retrieve the CSV file, please follow these steps:&lt;/P&gt;
&lt;OL data-start="452" data-end="611"&gt;
&lt;LI data-start="452" data-end="534"&gt;Set &lt;STRONG data-start="459" data-end="475"&gt;keepCSVFiles&lt;/STRONG&gt; and &lt;STRONG data-start="480" data-end="498"&gt;keepErrorFiles&lt;/STRONG&gt; to &lt;STRONG&gt;True&lt;/STRONG&gt; in the target endpoint.&lt;/LI&gt;
&lt;LI data-start="535" data-end="560"&gt;Reproduce the issue.&lt;/LI&gt;
&lt;LI data-start="561" data-end="611"&gt;Locate and review the corresponding CSV file.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="613" data-end="785"&gt;If the CSV file contains an invalid DATE value, we would prefer to resolve the issue at the source side rather than applying transformations to modify the value at the target side.&lt;/P&gt;
&lt;P data-start="787" data-end="833" data-is-last-node="" data-is-only-node=""&gt;Let me know if you need further clarification.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 02:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508903#M13848</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-03-10T02:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Some rows failed to load due to date timestamp error from MySQL</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508907#M13849</link>
      <description>&lt;P&gt;Hi John,&lt;BR /&gt;&lt;BR /&gt;I turn on verbose and traced line 624212 which was indicated in the log. The date format look perfectly fine to me. There's no abnormal issue.&lt;BR /&gt;&lt;BR /&gt;How can we fix this?&lt;BR /&gt;&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 03:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508907#M13849</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2025-03-10T03:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Some rows failed to load due to date timestamp error from MySQL</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508910#M13850</link>
      <description>&lt;P&gt;Hello Desmond,&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;Thanks for the update.&lt;/P&gt;
&lt;P data-start="84" data-end="304"&gt;Since MySQL allows zero month and zero date values, it is best to handle the zero-date issue directly within MySQL. However, without the diagnostic package and CSV files, it's difficult to determine the exact approach.&lt;/P&gt;
&lt;P data-start="306" data-end="391"&gt;If you want to replace zero dates with "01," please refer to the following article:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-and-Snowflake-Endpoint-Tables-are-suspended-with/ta-p/2050666" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Qlik Replicate and Snowflake Endpoint: Tables are suspended with Timestamp error&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 03:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508910#M13850</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-03-10T03:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Some rows failed to load due to date timestamp error from MySQL</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508916#M13851</link>
      <description>&lt;P&gt;Hi John,&lt;BR /&gt;&lt;BR /&gt;I am not seeing any zero on the date values.&amp;nbsp;&lt;BR /&gt;At row 624212, this is the timestamp after the "FILEOPEN" column. There doesn't seem to have any issue with the date.&lt;BR /&gt;&lt;BR /&gt;"FILEOPEN",2023-02-13 03:00:53.78098&lt;BR /&gt;&lt;BR /&gt;Desmond&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 03:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508916#M13851</guid>
      <dc:creator>desmondchew</dc:creator>
      <dc:date>2025-03-10T03:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Some rows failed to load due to date timestamp error from MySQL</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508923#M13852</link>
      <description>&lt;P&gt;Hello Desmond,&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;We need additional information to address the issue. Please open a support ticket and attach the Trace Task Log file (decrypt it if necessary), also with the generated CSV files.&amp;nbsp;Our support team will be more than happy to assist you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Some-rows-failed-to-load-due-to-date-timestamp-error-from-MySQL/m-p/2508923#M13852</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-03-10T07:01:18Z</dc:date>
    </item>
  </channel>
</rss>

