<?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: Move a delta table from a non UC metastore to a UC metastore preserving history in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/move-a-delta-table-from-a-non-uc-metastore-to-a-uc-metastore/m-p/66207#M33052</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;It is possible to have the expected result with dbutils.fs.cp("Origin location", "Destination location", True) and then create the table with the LOCATION of the Destination location&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;</description>
    <pubDate>Sun, 14 Apr 2024 12:28:25 GMT</pubDate>
    <dc:creator>ThomazRossito</dc:creator>
    <dc:date>2024-04-14T12:28:25Z</dc:date>
    <item>
      <title>Move a delta table from a non UC metastore to a UC metastore preserving history</title>
      <link>https://community.databricks.com/t5/data-engineering/move-a-delta-table-from-a-non-uc-metastore-to-a-uc-metastore/m-p/66112#M33023</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Azure databricks and we recently enabled UC in our workspace. We have some tables in our non UC metastore that we want to move to a UC enabled metastore. Is there any way we can move these tables without loosing the delta table history? (i.e. sql command "describe history old_mestastore.db_name.table_name" should give exactly the same results than "describe history new_metstore.db_name.table_name" where old metastore is a non UC metastore while new_metastore is a UC enabled metastore).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any info would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Joaquim&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 08:02:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/move-a-delta-table-from-a-non-uc-metastore-to-a-uc-metastore/m-p/66112#M33023</guid>
      <dc:creator>Jotav93</dc:creator>
      <dc:date>2024-04-12T08:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Move a delta table from a non UC metastore to a UC metastore preserving history</title>
      <link>https://community.databricks.com/t5/data-engineering/move-a-delta-table-from-a-non-uc-metastore-to-a-uc-metastore/m-p/66207#M33052</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;It is possible to have the expected result with dbutils.fs.cp("Origin location", "Destination location", True) and then create the table with the LOCATION of the Destination location&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 12:28:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/move-a-delta-table-from-a-non-uc-metastore-to-a-uc-metastore/m-p/66207#M33052</guid>
      <dc:creator>ThomazRossito</dc:creator>
      <dc:date>2024-04-14T12:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Move a delta table from a non UC metastore to a UC metastore preserving history</title>
      <link>https://community.databricks.com/t5/data-engineering/move-a-delta-table-from-a-non-uc-metastore-to-a-uc-metastore/m-p/66398#M33100</link>
      <description>&lt;P&gt;Hi Thomasz,&lt;/P&gt;&lt;P&gt;thanks for your answer. It partially works as it preserves the versions but it doesn't preserve version timestamps (I didn't specify that explicitly but I need to preserve version timestamps).&lt;/P&gt;&lt;P&gt;- Version before the copy&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_0-1713338360117.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7062iC3B1E590C85654BD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Jotav93_0-1713338360117.png" alt="Jotav93_0-1713338360117.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Copy operation&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_1-1713338390241.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7063i7AD235C4106DD6E4/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Jotav93_1-1713338390241.png" alt="Jotav93_1-1713338390241.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Table creation and version after the copy&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jotav93_3-1713338535304.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7065i0EAB6FAFB58F588E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Jotav93_3-1713338535304.png" alt="Jotav93_3-1713338535304.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Am I doing anything wrong? Would you suggest either move or .zip and unzip to preserve file modified times? Should I create the table first and then copy the data inside? Or what would you suggest?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joaquim&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 07:24:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/move-a-delta-table-from-a-non-uc-metastore-to-a-uc-metastore/m-p/66398#M33100</guid>
      <dc:creator>Jotav93</dc:creator>
      <dc:date>2024-04-17T07:24:02Z</dc:date>
    </item>
  </channel>
</rss>

