<?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: Handling duplicate records on a full load in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522337#M14600</link>
    <description>&lt;P&gt;I tried using full load only and this is the error message:&lt;/P&gt;&lt;P&gt;The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'SAPABAP1.ZTABLE' and the index name 'ZTABLE_ZTABLE_1750868909410735_PK'. The duplicate key value is (000, FD1123456 (2000x), X1234, 00). Line: 1 Column: -1; Execute create Primary Key/Unique Index failed, statement CREATE UNIQUE INDEX [ZTABLE_ZTABLE_1750868909410735_PK] ON [SAPABAP1].[ZTABLE] ( [COL1], [COL2], [COL3], [COL4] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jun 2025 16:36:27 GMT</pubDate>
    <dc:creator>Al_gar</dc:creator>
    <dc:date>2025-06-25T16:36:27Z</dc:date>
    <item>
      <title>Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2521956#M14584</link>
      <description>&lt;P&gt;For Qlik Replicate&amp;nbsp;&lt;SPAN&gt;&lt;STRIKE&gt;December 2024 (2024.12.0.21)&lt;/STRIKE&gt; November 2024 (2024.11.0.177) using HANA as a source and SQL Server 2019 as target, we're having issues handling duplicate records on a full load. We've tried the steps posted in the technical article "Handling Duplicate Rows when doing a Full Load in Replicate" to add --FILTER: 1=1) ORDER BY Col1, Col2 -- in the&amp;nbsp;Table Settings -&amp;gt; Filter -&amp;gt; Record Selection Condition, but our task keep failing when there are duplicate records.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 15:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2521956#M14584</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-06-25T15:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522145#M14589</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162751"&gt;@Al_gar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It seems I'm not familiar with version &lt;STRONG data-start="102" data-end="118"&gt;2024.12.0.21&lt;/STRONG&gt;. Could you please share which software provider it’s from, or let me know the platform on which you're running this specific version?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 13:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522145#M14589</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-06-24T13:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522214#M14598</link>
      <description>&lt;P&gt;My apologies&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;, the correct version is&amp;nbsp; Qlik Replicate November 2024 (2024.11.0.177) and it runs on a Windows Server 2019.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 02:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522214#M14598</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-06-25T02:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522216#M14599</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162751"&gt;@Al_gar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the clarification.&lt;/P&gt;
&lt;P data-start="59" data-end="98"&gt;I'd like to clarify the basic scenario:&lt;/P&gt;
&lt;OL data-start="100" data-end="1104"&gt;
&lt;LI data-start="100" data-end="621"&gt;
&lt;P data-start="103" data-end="240"&gt;&lt;STRONG data-start="103" data-end="138"&gt;Duplicate Rows During Full Load&lt;/STRONG&gt;:&lt;BR data-start="139" data-end="142" /&gt;If duplicate row(s) are inserted or updated &lt;EM data-start="189" data-end="197"&gt;during&lt;/EM&gt; the Full Load phase, note the following:&lt;/P&gt;
&lt;UL data-start="244" data-end="621"&gt;
&lt;LI data-start="244" data-end="406"&gt;
&lt;P data-start="246" data-end="406"&gt;If these rows are inserted &lt;STRONG data-start="273" data-end="282"&gt;after&lt;/STRONG&gt; the Full Load has started, they may be replicated to the target as part of the Full Load (i.e., their first replication).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="410" data-end="621"&gt;
&lt;P data-start="412" data-end="621"&gt;After the Full Load completes, the &lt;STRONG&gt;cached changes&lt;/STRONG&gt; from Change Processing will be applied to the target (i.e., their second replication).&lt;BR data-start="548" data-end="551" /&gt;This could result in duplicate rows being inserted into the target. Especially if the source endpoint database does not support snapshot.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-start="623" data-end="806"&gt;
&lt;P data-start="626" data-end="806"&gt;&lt;STRONG data-start="626" data-end="660"&gt;Test Without Change Processing&lt;/STRONG&gt;:&lt;BR data-start="661" data-end="664" /&gt;Try disabling the &lt;STRONG&gt;Change Processing&lt;/STRONG&gt; option to determine whether the issue occurs during Full Load ONLY task. This can help isolate the problem.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="808" data-end="1104"&gt;
&lt;P data-start="811" data-end="1104"&gt;&lt;STRONG data-start="811" data-end="855"&gt;Stop Task Before Applying Cached Changes&lt;/STRONG&gt;:&lt;BR data-start="856" data-end="859" /&gt;Set the task option to &lt;STRONG data-start="885" data-end="931"&gt;"After Full Load completes, stop the task"&lt;/STRONG&gt; → &lt;STRONG data-start="934" data-end="979"&gt;"Before cached changes have been applied"&lt;/STRONG&gt;, and observe the results. This will help verify whether the duplicates are introduced by the cached changes.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 03:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522216#M14599</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-06-25T03:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522337#M14600</link>
      <description>&lt;P&gt;I tried using full load only and this is the error message:&lt;/P&gt;&lt;P&gt;The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name 'SAPABAP1.ZTABLE' and the index name 'ZTABLE_ZTABLE_1750868909410735_PK'. The duplicate key value is (000, FD1123456 (2000x), X1234, 00). Line: 1 Column: -1; Execute create Primary Key/Unique Index failed, statement CREATE UNIQUE INDEX [ZTABLE_ZTABLE_1750868909410735_PK] ON [SAPABAP1].[ZTABLE] ( [COL1], [COL2], [COL3], [COL4] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 16:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522337#M14600</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-06-25T16:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522372#M14603</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162751"&gt;@Al_gar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="74" data-end="219"&gt;You've made good progress so far.&lt;BR data-start="107" data-end="110" /&gt;Please take a closer look at the row with the unique index values:&amp;nbsp;000, FD1123456 (2000x), X1234, 00.&lt;/P&gt;
&lt;P data-start="221" data-end="409"&gt;It appears that &lt;STRONG data-start="237" data-end="258"&gt;more than one row&lt;/STRONG&gt; exists in the &lt;STRONG data-start="273" data-end="289"&gt;target table&lt;/STRONG&gt; for this key.&lt;BR data-start="303" data-end="306" /&gt;Kindly compare it with the &lt;STRONG data-start="333" data-end="348"&gt;source data&lt;/STRONG&gt; to identify any discrepancies and understand the root cause.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 02:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522372#M14603</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-06-26T02:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522477#M14605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Source system collation is case sensitive while Target is not. There should be a unique value, but since we're dealing with a DEV system we found the some "duplicate" records for this particular table:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;000, FD1123456 (2000x), X1234, 00&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;000, fd1123456 (2000x), X1234, 00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you confirm if this is possibly why &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Handling-Duplicate-Rows-when-doing-a-Full-Load-in-Replicate/ta-p/1712074" target="_blank"&gt;Handling Duplicate Rows when doing a Full Load in ... - Qlik Community - 1712074&lt;/A&gt;&amp;nbsp;won't work in this scenario?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 16:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522477#M14605</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-06-26T16:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522509#M14607</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Since our issue was impacting only the full load for a particular table we ended up with an alternative workaround. We configured the task as full load with CDC and we removed the PK under table settings &amp;gt; transformation. We started the task and once the table finished the full load we then removed the duplicate keys and added the PK constraint in the target database. The Replicate task kept loading changes as intended and we didn't had to do any other major change.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 11:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522509#M14607</guid>
      <dc:creator>Al_gar</dc:creator>
      <dc:date>2025-06-27T11:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Handling duplicate records on a full load</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522550#M14610</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162751"&gt;@Al_gar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P&gt;The article you mentioned is used while there is aching changes which were made during full load. however it's a different scenario in your project.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 08:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Handling-duplicate-records-on-a-full-load/m-p/2522550#M14610</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-06-27T08:44:45Z</dc:date>
    </item>
  </channel>
</rss>

