<?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: How to create delta table with identity column. in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19092#M12749</link>
    <description>&lt;P&gt;Could you please explain clearly on "&amp;nbsp;It worked when I copied the sql into a databricks sql query." how this is done.&lt;/P&gt;</description>
    <pubDate>Sat, 02 Jul 2022 16:49:44 GMT</pubDate>
    <dc:creator>anu1</dc:creator>
    <dc:date>2022-07-02T16:49:44Z</dc:date>
    <item>
      <title>How to create delta table with identity column.</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19088#M12745</link>
      <description>&lt;P&gt;I'm sure this is probably some oversight on my part, but I don't see it.  I'm trying to create a delta table with an identity column.  I've tried every combination of the syntax I can think of.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sql
create or replace table IDS.picklist
( picklist_id            BIGINT not null GENERATED ALWAYS AS IDENTITY,
  picklist_Name          string not null comment 'The unique name of the picklist.  Should be indicative of source and specific to the data requested.',
)
using delta
location 'dbfs:/mnt/dl_ids/databricks_database/picklist.delta'
;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1815i9A76D324DD58AD2C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture" alt="Capture" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 18:10:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19088#M12745</guid>
      <dc:creator>TheOptimizer</dc:creator>
      <dc:date>2022-06-01T18:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create delta table with identity column.</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19089#M12746</link>
      <description>&lt;P&gt;I figured it out but am still somewhat confused.  I was originally trying to create the table using sql magic commend in a notebook.  It worked when I copied the sql into a databricks sql query.  &lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 18:58:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19089#M12746</guid>
      <dc:creator>TheOptimizer</dc:creator>
      <dc:date>2022-06-01T18:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create delta table with identity column.</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19091#M12748</link>
      <description>&lt;P&gt;I was also having this same error and my cluster was running Databricks Runtime Version 9.1 so I changed it to 11.0 and it worked.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 18:03:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19091#M12748</guid>
      <dc:creator>lucas_marchand</dc:creator>
      <dc:date>2022-06-30T18:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create delta table with identity column.</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19092#M12749</link>
      <description>&lt;P&gt;Could you please explain clearly on "&amp;nbsp;It worked when I copied the sql into a databricks sql query." how this is done.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 16:49:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19092#M12749</guid>
      <dc:creator>anu1</dc:creator>
      <dc:date>2022-07-02T16:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create delta table with identity column.</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19093#M12750</link>
      <description>&lt;P&gt;Interesting.  I would then guess that what I experienced was a bug, and that the upgrade fixed this.  I tend to stay on the LTS, so I am currently running 9.1 DBR.  Thanks for the good  news!  &lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 16:59:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19093#M12750</guid>
      <dc:creator>TheOptimizer</dc:creator>
      <dc:date>2022-07-02T16:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create delta table with identity column.</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19094#M12751</link>
      <description>&lt;P&gt;Sure thing.  Originally, I was trying to run my creation in a %sql magic cell of a notebook.  The 2nd attemp (which worked) I pasted the DDL in the SQL environment of databricks. Instead of being in Data and Engineering envinronment, select SQL.  Hope this helps, best I have.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Jul 2022 17:04:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-create-delta-table-with-identity-column/m-p/19094#M12751</guid>
      <dc:creator>TheOptimizer</dc:creator>
      <dc:date>2022-07-02T17:04:23Z</dc:date>
    </item>
  </channel>
</rss>

