<?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 Shallow copy in databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/shallow-copy-in-databricks/m-p/4393#M1134</link>
    <description>&lt;P&gt;Hi, I am new to Databricks. I need to setup a non-prod environment for which I need data of prod to be cloned in non-prod. Explored some and got to know about shallow copy. Is it possible to do shallow copy across environments? or Is it possible to do shallow clonning across different databricks instances?&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 06:38:52 GMT</pubDate>
    <dc:creator>_deepak_</dc:creator>
    <dc:date>2023-05-15T06:38:52Z</dc:date>
    <item>
      <title>Shallow copy in databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/shallow-copy-in-databricks/m-p/4393#M1134</link>
      <description>&lt;P&gt;Hi, I am new to Databricks. I need to setup a non-prod environment for which I need data of prod to be cloned in non-prod. Explored some and got to know about shallow copy. Is it possible to do shallow copy across environments? or Is it possible to do shallow clonning across different databricks instances?&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 06:38:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/shallow-copy-in-databricks/m-p/4393#M1134</guid>
      <dc:creator>_deepak_</dc:creator>
      <dc:date>2023-05-15T06:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Shallow copy in databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/shallow-copy-in-databricks/m-p/4394#M1135</link>
      <description>&lt;P&gt;@deepak prasad​&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure it's possible to do that. Even with Unity Catalog enabled, you cannot use shallow clone.&lt;/P&gt;&lt;P&gt;You can do two things here:&lt;/P&gt;&lt;P&gt;Without UC - just simply recreate an empty table in your non-prod environment and do SELECT * from prod storage,&lt;/P&gt;&lt;P&gt;With UC - make sure that two workspaces are in the same metastore and you can either create views based on prod data or do a deep clone from prod to non-prod&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 05:50:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/shallow-copy-in-databricks/m-p/4394#M1135</guid>
      <dc:creator>daniel_sahal</dc:creator>
      <dc:date>2023-05-16T05:50:30Z</dc:date>
    </item>
  </channel>
</rss>

