<?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: Primary key for a table is not a physical primary key in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4720069#M3161</link>
    <description>&lt;P&gt;Hi, thanks for your reply.&lt;/P&gt;&lt;P&gt;It's curious that Fabric SQL Database seems to support the primary keys and it is a Fabric workload inside the same ecosystem of a Warehouse. In this case, no overhead?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 16:17:57 GMT</pubDate>
    <dc:creator>pmscorca</dc:creator>
    <dc:date>2025-06-04T16:17:57Z</dc:date>
    <item>
      <title>Primary key for a table is not a physical primary key</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4718719#M3153</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;reading the official documentation it seems that isn't possible to create a physical primary key for a warehouse table.&lt;/P&gt;&lt;P&gt;The related syntax requires to specify the NOT ENFORCED clause; so,&amp;nbsp;there is no uniqueness with respect to the primary key.&lt;/P&gt;&lt;P&gt;Why is it not possible to create a real primary key? Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:07:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4718719#M3153</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2025-06-03T18:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key for a table is not a physical primary key</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4719294#M3156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fabric Warehouse is built on a distributed Delta Lake architecture, which is optimized for performance and scalability. Enforcing constraints like primary keys across distributed nodes would introduce significant overhead, so they are defined as metadata only and not physically enforced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to ensure data uniqueness or maintain referential integrity, you’ll need to handle it within your ETL/ELT process—using Dataflows, Pipelines, or custom SQL logic to validate and clean the data as it moves through your system.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 07:31:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4719294#M3156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-04T07:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key for a table is not a physical primary key</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4719357#M3159</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;are&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;correct:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Microsoft&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Fabric&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Warehouse&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;many&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;distributed&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;data&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;platforms),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;primary&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;keys&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;are&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;defined&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;with&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;NOT&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ENFORCED&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;clause,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;meaning&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;uniqueness&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;not&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;physically&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;enforced&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;at&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;storage&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;level.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;This&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;architectural&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;choice&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;due&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;distributed&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Delta&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Lake&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;foundation.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Enforcing&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;constraints&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;such&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;primary&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;keys&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;across&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;distributed&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;nodes&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;would&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;add&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;significant&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;performance&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;scalability&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;overhead,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;so&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;these&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;keys&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;are&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;treated&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;metadata&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;you&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;need&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;true&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;data&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;uniqueness&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;referential&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;integrity,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;recommended&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;approach&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;implement&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;these&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;checks&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;during&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;your&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;data&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ingestion&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;transformation&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;processes.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;You&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;can&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;tools&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;such&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Dataflows,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Pipelines,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;custom&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;SQL&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;scripts&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;validate&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;clean&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;your&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;data&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;before&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;it&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;lands&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;warehouse.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;References:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/delta/constraints" target="_blank" rel="noopener noreferrer"&gt;&lt;SPAN&gt;Delta&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Lake&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;documentation&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;on&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;constraints&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-warehouse/" target="_blank" rel="noopener noreferrer"&gt;&lt;SPAN&gt;Microsoft&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Fabric&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Warehouse&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;documentation&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Hope&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;this&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;helps&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;clarify&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;design!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;If&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;this&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;post&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;was&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;helpful,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;please&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;consider&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;giving&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;kudos&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;marking&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;it&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;solution&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;assist&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;others&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;community.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 08:05:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4719357#M3159</guid>
      <dc:creator>burakkaragoz</dc:creator>
      <dc:date>2025-06-04T08:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key for a table is not a physical primary key</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4720069#M3161</link>
      <description>&lt;P&gt;Hi, thanks for your reply.&lt;/P&gt;&lt;P&gt;It's curious that Fabric SQL Database seems to support the primary keys and it is a Fabric workload inside the same ecosystem of a Warehouse. In this case, no overhead?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 16:17:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4720069#M3161</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2025-06-04T16:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key for a table is not a physical primary key</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4725378#M3200</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?&lt;BR /&gt;If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 09:14:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4725378#M3200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-09T09:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key for a table is not a physical primary key</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4725945#M3201</link>
      <description>&lt;P&gt;Instead, it's curious that Fabric SQL Database seems to support the primary keys.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 14:48:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4725945#M3201</guid>
      <dc:creator>pmscorca</dc:creator>
      <dc:date>2025-06-09T14:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Primary key for a table is not a physical primary key</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4727114#M3208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="719515" data-lia-user-login="pmscorca" class="lia-mention lia-mention-user"&gt;pmscorca&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The key reason lies in the architectural goals, while both are part of the Microsoft Fabric ecosystem, they serve different purposes and are optimized accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Vinay Pabbu&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jun 2025 11:47:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/Primary-key-for-a-table-is-not-a-physical-primary-key/m-p/4727114#M3208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-10T11:47:39Z</dc:date>
    </item>
  </channel>
</rss>

