<?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: Distributaion key error while using green plum(postgresql as target) in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480666#M12658</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;&amp;nbsp; Thanks for response,&lt;/P&gt;
&lt;P&gt;We using PostgreSQL as target endpoint , all other task are working fine and we getting expected outcome from them.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Pranita&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 10:22:11 GMT</pubDate>
    <dc:creator>Pranita123</dc:creator>
    <dc:date>2024-09-10T10:22:11Z</dc:date>
    <item>
      <title>Distributaion key error while using green plum(postgresql as target)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480601#M12647</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;we are using Microsoft SQL server as source and PostgreSQL as target(green plum). we have one table which has primary key customer_id no other key is define in that tables but while replicating this table we are getting below error&lt;/P&gt;
&lt;P&gt;"Handling new table 'dbo'.'ORDERS_Test2' failed&lt;BR /&gt;execute create primary key failed, statement ALTER TABLE "dbo"."ORDERS_Test2" ADD PRIMARY KEY ( "customer_id" )&lt;BR /&gt;RetCode: SQL_ERROR SqlState: 23505 NativeError: 1 Message: ERROR: PRIMARY KEY must contain all columns in the distribution key of relation "ORDERS_Test2";&lt;BR /&gt;Error while executing the query&lt;BR /&gt;Failed (retcode -1) to execute statement: ALTER TABLE "dbo"."ORDERS_Test2" ADD PRIMARY KEY ( "customer_id" )"&lt;/P&gt;
&lt;P&gt;Any help or guidance on addressing this issue would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Pranita&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;</description>
      <pubDate>Tue, 10 Sep 2024 07:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480601#M12647</guid>
      <dc:creator>Pranita123</dc:creator>
      <dc:date>2024-09-10T07:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Distributaion key error while using green plum(postgresql as target)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480613#M12649</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219875"&gt;@Pranita123&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for reaching out to Qlik community forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The primary key you're trying to create &lt;STRONG&gt;Customer_ID&lt;/STRONG&gt;&amp;nbsp;does not include all the columns in the distribution key for the &lt;STRONG&gt;ORDERTest2&lt;/STRONG&gt; table. The database enforces that a primary key must cover all columns that are part of the distribution key&lt;/P&gt;
&lt;P&gt;The underlying distribution strategy of the table conflicts with the primary key constraint you’re trying to add. For instance, if the table was distributed based on multiple columns (say,Order_ID and Customer_ID), then the primary key must include both of these columns.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If possible, you can alter the distribution key of the table to include only the Customer_ID &lt;/SPAN&gt;&lt;SPAN&gt;column, so it aligns with the primary key you want to set.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Else you create table manually and use "Truncate and load" options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 07:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480613#M12649</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2024-09-10T07:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Distributaion key error while using green plum(postgresql as target)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480621#M12651</link>
      <description>&lt;P&gt;Hii&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141158"&gt;@SachinB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for response, but at source end there is no distribution key or any dependency on other columns still getting this error,&lt;/P&gt;
&lt;P&gt;I also try to replicate other table which has pk defined which works fine.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Pranita&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 08:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480621#M12651</guid>
      <dc:creator>Pranita123</dc:creator>
      <dc:date>2024-09-10T08:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Distributaion key error while using green plum(postgresql as target)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480622#M12652</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219875"&gt;@Pranita123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The task is failing while altering statement at the target endpoint, I would request you to create a case and attach the required diagnostic package and we can work together on this.&lt;/P&gt;
&lt;P&gt;Hope this helps for you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 08:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480622#M12652</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2024-09-10T08:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Distributaion key error while using green plum(postgresql as target)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480646#M12654</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141158"&gt;@SachinB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I’d like to point out that for the same table, I defined a different task in the Qlik Replicate console where I used the `Id` as the key. This approach resolved the issue and I received the correct data at the target end with proper CDC.&lt;/P&gt;
&lt;P&gt;Is this approach correct for addressing the issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 09:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480646#M12654</guid>
      <dc:creator>Pranita123</dc:creator>
      <dc:date>2024-09-10T09:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Distributaion key error while using green plum(postgresql as target)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480650#M12656</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219875"&gt;@Pranita123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You have defined the primary key for ID column, and which exactly matches with distribution key and hence this has passed this time. Yes, this looks fine for us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 09:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480650#M12656</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2024-09-10T09:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Distributaion key error while using green plum(postgresql as target)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480652#M12657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/219875"&gt;@Pranita123&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Do you mean Pivotal Greenplum?&amp;nbsp;&lt;SPAN&gt;Please be aware that Qlik Replicate has not supported Greenplum since the 2023 version.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Release-Notes/Qlik-Replicate-Release-Notes-November-2023-Initial-Release-until/ta-p/2110765" target="_blank"&gt;https://community.qlik.com/t5/Release-Notes/Qlik-Replicate-Release-Notes-November-2023-Initial-Release-until/ta-p/2110765&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The PS team may need to be involved in this issue. Please contact your account manager for further details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Desmond&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 09:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480652#M12657</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-09-10T09:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Distributaion key error while using green plum(postgresql as target)</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480666#M12658</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;&amp;nbsp; Thanks for response,&lt;/P&gt;
&lt;P&gt;We using PostgreSQL as target endpoint , all other task are working fine and we getting expected outcome from them.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Pranita&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 10:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Distributaion-key-error-while-using-green-plum-postgresql-as/m-p/2480666#M12658</guid>
      <dc:creator>Pranita123</dc:creator>
      <dc:date>2024-09-10T10:22:11Z</dc:date>
    </item>
  </channel>
</rss>

