<?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: Can a not null constraint be applied on a identity column in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-a-not-null-constraint-be-applied-on-a-identity-column/m-p/49743#M28613</link>
    <description>&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;Here is the documentation for this issue&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/tables/constraints.html" target="_blank"&gt;https://docs.databricks.com/en/tables/constraints.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2023 13:59:23 GMT</pubDate>
    <dc:creator>Krishnamatta</dc:creator>
    <dc:date>2023-10-23T13:59:23Z</dc:date>
    <item>
      <title>Can a not null constraint be applied on a identity column</title>
      <link>https://community.databricks.com/t5/data-engineering/can-a-not-null-constraint-be-applied-on-a-identity-column/m-p/49724#M28610</link>
      <description>&lt;P&gt;I had a table creation script as follows for example:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;TABLE&lt;/SPAN&gt; &lt;SPAN&gt;default&lt;/SPAN&gt;&lt;SPAN&gt;.test2&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ( &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt; &lt;SPAN&gt;BIGINT&lt;/SPAN&gt; &lt;SPAN&gt;GENERATED&lt;/SPAN&gt; &lt;SPAN&gt;BY&lt;/SPAN&gt; &lt;SPAN&gt;DEFAULT&lt;/SPAN&gt; &lt;SPAN&gt;AS&lt;/SPAN&gt; &lt;SPAN&gt;IDENTITY&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; name &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;String&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;using&lt;/SPAN&gt; &lt;SPAN&gt;delta&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;location&lt;/SPAN&gt; &lt;SPAN&gt;"/mnt/datalake/xxxx"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;What are the possible ways to apply not null constraint on the existing delta table on id column&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Oct 2023 11:20:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-a-not-null-constraint-be-applied-on-a-identity-column/m-p/49724#M28610</guid>
      <dc:creator>harish446</dc:creator>
      <dc:date>2023-10-23T11:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can a not null constraint be applied on a identity column</title>
      <link>https://community.databricks.com/t5/data-engineering/can-a-not-null-constraint-be-applied-on-a-identity-column/m-p/49743#M28613</link>
      <description>&lt;P&gt;Hi Harish,&lt;/P&gt;&lt;P&gt;Here is the documentation for this issue&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/tables/constraints.html" target="_blank"&gt;https://docs.databricks.com/en/tables/constraints.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 13:59:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-a-not-null-constraint-be-applied-on-a-identity-column/m-p/49743#M28613</guid>
      <dc:creator>Krishnamatta</dc:creator>
      <dc:date>2023-10-23T13:59:23Z</dc:date>
    </item>
  </channel>
</rss>

