<?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 Import an old Unity Catalog  Metastore to a new Unity Catalog  Metastore? in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/53059#M1458</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/36671"&gt;@Barney&lt;/a&gt;&amp;nbsp;Will this method work&amp;nbsp;to import table and column metadata from one metasrore to another in unity catalg? I thought this only works when upgrading tables from legacy hive_metastore to a catalog in unity-catalog ?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a spreadheet containing table &amp;amp; column descriptions (comments)&amp;nbsp; Is there a way to upload this against the schema in unity catalog?&amp;nbsp; Basically instead of running&amp;nbsp; 'Alter table &amp;lt;&amp;gt; alter column &amp;lt;&amp;gt;&amp;nbsp; comment "description"&amp;nbsp; '&amp;nbsp; these commands for every column, is there a way to mass apply column comments in unity catalog schema?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Nov 2023 18:58:48 GMT</pubDate>
    <dc:creator>prasad_vaze</dc:creator>
    <dc:date>2023-11-19T18:58:48Z</dc:date>
    <item>
      <title>How to Import an old Unity Catalog  Metastore to a new Unity Catalog  Metastore?</title>
      <link>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8652#M275</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have created a new Unity Catalog (UC) metastore (new metastore ID) in west europe and now i want to import alle catalog/schema/tables form the old metastore (west europe) container to the new UC metastore.&lt;/P&gt;&lt;P&gt;Note: coping all tables form the old metastore container to the new metastore container didn't works.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 16:28:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8652#M275</guid>
      <dc:creator>Barney</dc:creator>
      <dc:date>2023-02-27T16:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Import an old Unity Catalog  Metastore to a new Unity Catalog  Metastore?</title>
      <link>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8653#M276</link>
      <description>&lt;P&gt;@Ron Barneveld​&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To import all the catalog/schema/tables from the old Unity Catalog (UC) metastore to the new one, you can use the 'Export Metadata' and 'Import Metadata' functionalities provided by Databricks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the high-level steps to do this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Export metadata from the old metastore container to a file. You can do this using the databricks workspace export command in the Databricks CLI&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;databricks workspace export /FileStore/my-metadata-folder/metadata.json&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Copy the exported file to a location that is accessible from the new Databricks workspace&lt;/LI&gt;&lt;LI&gt;Import metadata from the exported file to the new metastore container. You can do this using the databricks workspace import command in the Databricks CLI. This command will import all the objects defined in the metadata file, including notebooks, libraries, and other artifacts. If you only want to import the catalog/schema/tables, you can filter the metadata file to include only the relevant objects before importing it&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;databricks workspace import /FileStore/my-metadata-folder/metadata.json&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Verify that the catalog/schema/tables have been imported correctly by checking the Unity Catalog UI in the new Databricks workspace&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 09 Mar 2023 04:05:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8653#M276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-09T04:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Import an old Unity Catalog  Metastore to a new Unity Catalog  Metastore?</title>
      <link>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8654#M277</link>
      <description>&lt;P&gt;Hi Suteja,&lt;/P&gt;&lt;P&gt;Thanks for your reply. You mention these: databricks workspace export /FileStore/my-metadata-folder/metadata.json but the statement should be like this: databricks workspace export [OPTIONS] SOURCE_PATH TARGET_PATH , right? There must be a SOURCE_PATH of the UC metastore, so where can i find the metadata of the UC metastore that i can export. It doesn't exist in the Databricks workspace filefolder.&lt;/P&gt;&lt;P&gt;By the way i still have my old  UC metastore in the ASDL.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 15:31:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8654#M277</guid>
      <dc:creator>Barney</dc:creator>
      <dc:date>2023-03-09T15:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Import an old Unity Catalog  Metastore to a new Unity Catalog  Metastore?</title>
      <link>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8655#M278</link>
      <description>&lt;P&gt;Hi @Ron Barneveld​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everything is going great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best so that other members can find the solution more quickly? If not, please tell us so we can help you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 04:55:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8655#M278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-13T04:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Import an old Unity Catalog  Metastore to a new Unity Catalog  Metastore?</title>
      <link>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8656#M279</link>
      <description>&lt;P&gt;Hi Vidula, &lt;/P&gt;&lt;P&gt;I am afraid that our issue is still not resolve. We have created the default UC metastore on prod. &lt;/P&gt;&lt;P&gt;We understand that we wouldn't delete a metastore on daily bases but we still interesting if it's possible to export/import the metadata of an UC metastore. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks any for your interest!&lt;/P&gt;&lt;P&gt;Ron (Barney)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 12:53:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/8656#M279</guid>
      <dc:creator>Barney</dc:creator>
      <dc:date>2023-03-13T12:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Import an old Unity Catalog  Metastore to a new Unity Catalog  Metastore?</title>
      <link>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/42944#M1189</link>
      <description>&lt;P&gt;Hi Barney,&lt;/P&gt;&lt;P&gt;Just wondering if you got this issue solved.&lt;/P&gt;&lt;P&gt;Thank you so much,&lt;BR /&gt;Adriana Cavalcanti&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 09:07:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/42944#M1189</guid>
      <dc:creator>drii_cavalcanti</dc:creator>
      <dc:date>2023-08-31T09:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Import an old Unity Catalog  Metastore to a new Unity Catalog  Metastore?</title>
      <link>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/53059#M1458</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;&amp;nbsp; &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/36671"&gt;@Barney&lt;/a&gt;&amp;nbsp;Will this method work&amp;nbsp;to import table and column metadata from one metasrore to another in unity catalg? I thought this only works when upgrading tables from legacy hive_metastore to a catalog in unity-catalog ?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a spreadheet containing table &amp;amp; column descriptions (comments)&amp;nbsp; Is there a way to upload this against the schema in unity catalog?&amp;nbsp; Basically instead of running&amp;nbsp; 'Alter table &amp;lt;&amp;gt; alter column &amp;lt;&amp;gt;&amp;nbsp; comment "description"&amp;nbsp; '&amp;nbsp; these commands for every column, is there a way to mass apply column comments in unity catalog schema?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2023 18:58:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/how-to-import-an-old-unity-catalog-metastore-to-a-new-unity/m-p/53059#M1458</guid>
      <dc:creator>prasad_vaze</dc:creator>
      <dc:date>2023-11-19T18:58:48Z</dc:date>
    </item>
  </channel>
</rss>

