<?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: Error Message when Creating Catalog in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/69177#M1337</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104789"&gt;@Billycheng&lt;/a&gt;&amp;nbsp;Good day!&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To correct your SQL code and specify the managed storage location, you should replace the placeholders in the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;MANAGED LOCATION&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;clause with your actual storage container name, storage account name, and the path to the directory within the storage account.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here is an example of how you might modify your SQL code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sql
CREATE CATALOG IF NOT EXISTS billy_cheng_dawd_13May2024
MANAGED LOCATION 'abfss://myContainer@myStorageAccount.dfs.core.windows.net/myDirectory';

USE CATALOG billy_cheng_dawd_13May2024;

CREATE SCHEMA IF NOT EXISTS dawd_v2;
&lt;/LI-CODE&gt;
&lt;P&gt;In this example, myContainer is the name of your storage container, myStorageAccount is the name of your storage account, and myDirectory is the path to the directory within the storage account.&lt;BR /&gt;Please replace myContainer, myStorageAccount, and myDirectory with your actual storage container name, storage account name, and the path to the directory within the storage account, respectively.&lt;/P&gt;
&lt;P&gt;Good reads:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. &lt;A href="https://docs.databricks.com/en/connect/unity-catalog/managed-storage.html" target="_blank"&gt;https://docs.databricks.com/en/connect/unity-catalog/managed-storage.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;A href="https://docs.databricks.com/en/data-governance/unity-catalog/get-started.html" target="_blank"&gt;https://docs.databricks.com/en/data-governance/unity-catalog/get-started.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please let us know if you have any questions or concerns.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Yeshwanth&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 15:43:11 GMT</pubDate>
    <dc:creator>Yeshwanth</dc:creator>
    <dc:date>2024-05-16T15:43:11Z</dc:date>
    <item>
      <title>Error Message when Creating Catalog</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/68929#M1326</link>
      <description>&lt;P&gt;I am very new to DB. Can someone show me how to resolve the error below please?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Assistant&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;The error message you're encountering indicates that when creating a catalog, you need to specify a managed storage location for it. This is a requirement in order to provide a storage location where the catalog's data will reside. Based on the information provided in your error message and the related documentation passages, you'll have to add the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;MANAGED LOCATION&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;clause to your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CREATE CATALOG&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;statement, specifying a storage location in the format required.&lt;/P&gt;&lt;P&gt;Assuming you have a storage location ready, your corrected SQL code should look something like this:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;sql&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;CREATE&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CATALOG&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;NOT&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EXISTS&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;billy_cheng_dawd_13May2024&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;MANAGED&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;LOCATION&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;'abfss://&amp;lt;container-name&amp;gt;@&amp;lt;storage-account&amp;gt;.dfs.co&lt;/SPAN&gt;&lt;SPAN class=""&gt;re.windows.net/&amp;lt;path-to-directory&amp;gt;'&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;USE&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CATALOG&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;billy_cheng_dawd_13May2024;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;CREATE&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SCHEMA&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;IF&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;NOT&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EXISTS&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;dawd_v2;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;In this code:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Replace&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;container-name&amp;gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;storage-account&amp;gt;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;path-to-directory&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with your actual storage container name, storage account name, and the path to the directory within the storage account, respectively. This storage will be used to manage and store the data for your catalog&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;billy_cheng_dawd_13May2024.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 May 2024 22:21:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/68929#M1326</guid>
      <dc:creator>Billycheng</dc:creator>
      <dc:date>2024-05-13T22:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message when Creating Catalog</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/69049#M1332</link>
      <description>&lt;P&gt;Warehousing &amp;amp; Analytics play a pivotal role in modern business strategies, enabling organizations to store, manage, and analyze vast amounts of data. By leveraging advanced analytics tools &lt;A href="https://www.cabletvandinternetpackages.com/directv-cable-and-internet-packages" target="_self"&gt;cable and internet packages directv&lt;/A&gt; within warehouse environments, companies gain valuable insights, driving informed decision-making and enhancing operational efficiency, ultimately fostering growth and competitiveness.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 03:54:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/69049#M1332</guid>
      <dc:creator>niklaus</dc:creator>
      <dc:date>2024-05-15T03:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message when Creating Catalog</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/69169#M1336</link>
      <description>&lt;P&gt;It looks like a couple of things.&amp;nbsp; &amp;nbsp;You may not have setup the abfss path as an &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/connect/unity-catalog/external-locations" target="_self"&gt;external location&lt;/A&gt;.&amp;nbsp; You may not have added the location to the IAM controls for the container to the &lt;A href="https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsoft.accessconnector?tab=overview" target="_self"&gt;Databricks Connector&lt;/A&gt;. I am assuming that you are a workspace and catalog admin and have the correct &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/create-catalogs" target="_self"&gt;permissions to create a catalog&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 14:07:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/69169#M1336</guid>
      <dc:creator>Cary</dc:creator>
      <dc:date>2024-05-16T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message when Creating Catalog</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/69177#M1337</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104789"&gt;@Billycheng&lt;/a&gt;&amp;nbsp;Good day!&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To correct your SQL code and specify the managed storage location, you should replace the placeholders in the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;MANAGED LOCATION&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;clause with your actual storage container name, storage account name, and the path to the directory within the storage account.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here is an example of how you might modify your SQL code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sql
CREATE CATALOG IF NOT EXISTS billy_cheng_dawd_13May2024
MANAGED LOCATION 'abfss://myContainer@myStorageAccount.dfs.core.windows.net/myDirectory';

USE CATALOG billy_cheng_dawd_13May2024;

CREATE SCHEMA IF NOT EXISTS dawd_v2;
&lt;/LI-CODE&gt;
&lt;P&gt;In this example, myContainer is the name of your storage container, myStorageAccount is the name of your storage account, and myDirectory is the path to the directory within the storage account.&lt;BR /&gt;Please replace myContainer, myStorageAccount, and myDirectory with your actual storage container name, storage account name, and the path to the directory within the storage account, respectively.&lt;/P&gt;
&lt;P&gt;Good reads:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. &lt;A href="https://docs.databricks.com/en/connect/unity-catalog/managed-storage.html" target="_blank"&gt;https://docs.databricks.com/en/connect/unity-catalog/managed-storage.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;&lt;A href="https://docs.databricks.com/en/data-governance/unity-catalog/get-started.html" target="_blank"&gt;https://docs.databricks.com/en/data-governance/unity-catalog/get-started.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please let us know if you have any questions or concerns.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Yeshwanth&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 15:43:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/69177#M1337</guid>
      <dc:creator>Yeshwanth</dc:creator>
      <dc:date>2024-05-16T15:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message when Creating Catalog</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/70547#M1343</link>
      <description>&lt;P&gt;If your root metastore bucket is not configured then you need to provide a managed location when creating a catalog in UC.&amp;nbsp;&lt;A href="https://docs.databricks.com/en/data-governance/unity-catalog/create-catalogs.html#create-a-catalog" target="_blank"&gt;https://docs.databricks.com/en/data-governance/unity-catalog/create-catalogs.html#create-a-catalog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dkushari_0-1716488757021.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7857i4EE2C8BEA7FF58B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dkushari_0-1716488757021.png" alt="dkushari_0-1716488757021.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 18:26:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/error-message-when-creating-catalog/m-p/70547#M1343</guid>
      <dc:creator>dkushari</dc:creator>
      <dc:date>2024-05-23T18:26:15Z</dc:date>
    </item>
  </channel>
</rss>

