<?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: Create a catalog with external location from different Metastore in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/68823#M1805</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Looks like you are creating the catalog at the container level. Are there any other UC objects created pointing to that? Is the external location created at the container level? Can you please have a look at &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/paths#--paths-for-unity-catalog-objects-cannot-overlap" target="_self"&gt;this&lt;/A&gt; and see if there is overlapping? Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 11 May 2024 19:42:55 GMT</pubDate>
    <dc:creator>dkushari</dc:creator>
    <dc:date>2024-05-11T19:42:55Z</dc:date>
    <item>
      <title>Create a catalog with external location from different Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/66946#M1777</link>
      <description>&lt;P&gt;Hello community !&lt;/P&gt;&lt;P&gt;Here's my problem : I had a workspace with Unity Catalog enabled, and a catalog stored on an external location (Azure storage account). All my schemas and tables were storage on this storage.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erigaud_0-1713797409085.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7186iBCAE4F54574739A8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="erigaud_0-1713797409085.png" alt="erigaud_0-1713797409085.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However we recently deleted the metastore, and created a new one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering if it is possible to re-create a catalog by specifying the same external location, to access all my schemas and tables again ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried doing so but I no longer see my schemas and tables on Databricks, so I am wondering if now that the metastore changed, I will not be able to see my tables ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 14:51:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/66946#M1777</guid>
      <dc:creator>erigaud</dc:creator>
      <dc:date>2024-04-22T14:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a catalog with external location from different Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/66993#M1778</link>
      <description>&lt;P&gt;If both the Catalog and the Schema and tables are stored externally, and you have deleted the original catalog, you should be able to recreate the schema in a new catalog by pointing it to the previous data files and running the&amp;nbsp;&lt;SPAN&gt;&lt;CODE&gt;SYNC&lt;/CODE&gt;&lt;/SPAN&gt;&amp;nbsp;command. Here are the steps .&lt;BR /&gt;1.&amp;nbsp;Define an External Location in the new catalog that points to the same location where your previous data files are stored. Sounds like you did this.&lt;BR /&gt;2.&amp;nbsp;&lt;SPAN&gt;Use the &lt;CODE&gt;SYNC&lt;/CODE&gt; command to create a new Unity Catalog table based on your legacy table location. This will only create metadata and not change the underlying data. The syntax is as follows:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;
SYNC hive_metastore.schema.table uc_catalog.schema.table
&lt;/CODE&gt; &lt;SPAN&gt;This command will create a new table in your new catalog that points to the same data files as your old table.&amp;nbsp; It sounds like you may not have done this.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Note that&amp;nbsp;the &lt;CODE&gt;SYNC&lt;/CODE&gt; command assumes that the data files are still in the same location and have not been moved or deleted. If the data files have been moved, you will need to adjust the External Location accordingly.&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 05:33:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/66993#M1778</guid>
      <dc:creator>ScottSmithDB</dc:creator>
      <dc:date>2024-04-23T05:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create a catalog with external location from different Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/67256#M1781</link>
      <description>&lt;P&gt;I have an issue when trying to create a new catalog based on the previous catalog location :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erigaud_0-1714038636622.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7229i3593C53113CF5329/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="erigaud_0-1714038636622.png" alt="erigaud_0-1714038636622.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any idea ? Thanks Scott !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 09:51:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/67256#M1781</guid>
      <dc:creator>erigaud</dc:creator>
      <dc:date>2024-04-25T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create a catalog with external location from different Metastore</title>
      <link>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/68823#M1805</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Looks like you are creating the catalog at the container level. Are there any other UC objects created pointing to that? Is the external location created at the container level? Can you please have a look at &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/paths#--paths-for-unity-catalog-objects-cannot-overlap" target="_self"&gt;this&lt;/A&gt; and see if there is overlapping? Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2024 19:42:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/create-a-catalog-with-external-location-from-different-metastore/m-p/68823#M1805</guid>
      <dc:creator>dkushari</dc:creator>
      <dc:date>2024-05-11T19:42:55Z</dc:date>
    </item>
  </channel>
</rss>

