<?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: Unexpected Primary Key in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874884#M452</link>
    <description>&lt;P&gt;Thanks Suresh, but it did not help.&lt;/P&gt;
&lt;P&gt;I cleared the cache and did the dwh validation, regenerate mapping, everything is ok. But when I run the mapping task, I get the same error.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Dec 2021 05:55:18 GMT</pubDate>
    <dc:creator>vtatarnikov</dc:creator>
    <dc:date>2021-12-24T05:55:18Z</dc:date>
    <item>
      <title>Unexpected Primary Key</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874761#M450</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I have created Entity with 2 business keys, made mapping and started task.&lt;/P&gt;
&lt;P&gt;Then I realized that only one field is a business key and removed the mark from the entity in the logical model. Then I did the model and dwh validation, ran the object update script. And started the mapping task again and got this error:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;ETL task aborted - Unexpected Primary Key violations detected in 'TSTG_clients_P'&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I have deleted all tables associated with my entity and I cannot see the &lt;EM&gt;TSTG_clients_P&amp;nbsp;&lt;/EM&gt;table.&lt;/P&gt;
&lt;P&gt;How to solve this problem?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874761#M450</guid>
      <dc:creator>vtatarnikov</dc:creator>
      <dc:date>2025-03-14T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Primary Key</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874837#M451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41189"&gt;@vtatarnikov&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Hope you see the below error.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suresh_pulagam_0-1640293593760.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69169i06F624DA21D78099/image-size/medium?v=v2&amp;amp;px=400" role="button" title="suresh_pulagam_0-1640293593760.png" alt="suresh_pulagam_0-1640293593760.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suresh_pulagam_1-1640294415932.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69171iEA6CE0D3703C1F25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="suresh_pulagam_1-1640294415932.png" alt="suresh_pulagam_1-1640294415932.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After you run the database script manually, clear the metadata cache and regenerate the instructions. The task should run fine after that.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suresh_pulagam_2-1640294557504.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69172i09C78BF847132187/image-size/medium?v=v2&amp;amp;px=400" role="button" title="suresh_pulagam_2-1640294557504.png" alt="suresh_pulagam_2-1640294557504.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Dec 2021 21:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874837#M451</guid>
      <dc:creator>suresh_pulagam</dc:creator>
      <dc:date>2021-12-23T21:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Primary Key</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874884#M452</link>
      <description>&lt;P&gt;Thanks Suresh, but it did not help.&lt;/P&gt;
&lt;P&gt;I cleared the cache and did the dwh validation, regenerate mapping, everything is ok. But when I run the mapping task, I get the same error.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 05:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874884#M452</guid>
      <dc:creator>vtatarnikov</dc:creator>
      <dc:date>2021-12-24T05:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Primary Key</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874890#M453</link>
      <description>&lt;P&gt;The duplicate handling function helped me. Before that, I did not check this box for this task, because I'm sure there are no duplicates.&lt;BR /&gt;Perhaps the problem was not what I described originally.&lt;/P&gt;
&lt;P&gt;In any case, I would like to receive technical support comments to understand what was the matter.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2021 06:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Unexpected-Primary-Key/m-p/1874890#M453</guid>
      <dc:creator>vtatarnikov</dc:creator>
      <dc:date>2021-12-24T06:08:57Z</dc:date>
    </item>
  </channel>
</rss>

