<?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: Shallow clone and issue with MODIFY permission to source table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69016#M33791</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Also check this documentation on access mode :&lt;A href="https://docs.databricks.com/en/delta/clone-unity-catalog.html#work-with-shallow-cloned-tables-in-single-user-access-mode" target="_blank"&gt;Shallow clone for Unity Catalog tables | Databricks on AWS&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Working with Unity Catalog shallow clones in Single User access mode, you must have permissions on the resources for the cloned table source as well as the target table&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 15:56:45 GMT</pubDate>
    <dc:creator>Amit_Dass_Chmp</dc:creator>
    <dc:date>2024-05-14T15:56:45Z</dc:date>
    <item>
      <title>Shallow clone and issue with MODIFY permission to source table</title>
      <link>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69004#M33783</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm running shallow clone for external delta tables. The shallow clone is failing for source tables where I don't have MODIFY permission. I'm getting below exception. I don't understand why MODIFY permission to source table is required. Is there any other solution than granting&amp;nbsp; MODIFY permission to source tables ? I would like to avoid this in case of cloning delta tables from production sources.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;: Failed to acquire a SAS token for create-directory on /databases/***/_delta_log/_opt due to java.util.concurrent.ExecutionException: com.databricks.sql.managedcatalog.acl.UnauthorizedAccessException: PERMISSION_DENIED: User does not have MODIFY on Table '***'.&lt;BR /&gt;at shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsClient.appendSASTokenToQuery(AbfsClient.java:1304)&lt;BR /&gt;at shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsClient.appendSASTokenToQuery(AbfsClient.java:1270)&lt;BR /&gt;at shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.services.AbfsClient.createPath(AbfsClient.java:467)&lt;BR /&gt;at shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.createDirectory(AzureBlobFileSystemStore.java:821)&lt;BR /&gt;at shaded.databricks.azurebfs.org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.mkdirs(AzureBlobFileSystem.java:900)&lt;BR /&gt;at com.databricks.common.filesystem.LokiFileSystem.mkdirs(LokiFileSystem.scala:279)&lt;BR /&gt;at com.databricks.sql.acl.fs.CredentialScopeFileSystem.mkdirs(CredentialScopeFileSystem.scala:260)&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 14:31:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69004#M33783</guid>
      <dc:creator>cszczotka</dc:creator>
      <dc:date>2024-05-14T14:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Shallow clone and issue with MODIFY permission to source table</title>
      <link>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69007#M33786</link>
      <description>&lt;P&gt;&lt;SPAN&gt;A&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;shallow&lt;/I&gt;&lt;SPAN&gt;&amp;nbsp;(also known as Zero-Copy) clone only duplicates the metadata of the table being cloned; the data files of the table itself are not copied.&amp;nbsp;This type of cloning does not create another physical copy of the data resulting in minimal storage costs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thus, if you do not have the MODIFY permission on the source table, you will not be able to create a shallow clone of that table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can try either&amp;nbsp;copying with a CTAS command or Deep Clone, and check if its helpful for your use case&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 14:56:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69007#M33786</guid>
      <dc:creator>Amit_Dass_Chmp</dc:creator>
      <dc:date>2024-05-14T14:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Shallow clone and issue with MODIFY permission to source table</title>
      <link>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69011#M33789</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for response. Do you know what kind of MODIFY operations are executed on the source table during the shallow clone operation ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 15:21:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69011#M33789</guid>
      <dc:creator>cszczotka</dc:creator>
      <dc:date>2024-05-14T15:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Shallow clone and issue with MODIFY permission to source table</title>
      <link>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69016#M33791</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Also check this documentation on access mode :&lt;A href="https://docs.databricks.com/en/delta/clone-unity-catalog.html#work-with-shallow-cloned-tables-in-single-user-access-mode" target="_blank"&gt;Shallow clone for Unity Catalog tables | Databricks on AWS&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Working with Unity Catalog shallow clones in Single User access mode, you must have permissions on the resources for the cloned table source as well as the target table&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 15:56:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69016#M33791</guid>
      <dc:creator>Amit_Dass_Chmp</dc:creator>
      <dc:date>2024-05-14T15:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Shallow clone and issue with MODIFY permission to source table</title>
      <link>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69037#M33793</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is rather not my case. We are running shallow clone on compute with shared access mode not on single user access mode. So I still don't know why is require MODIFY permission on source table to be able run shallow clone.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 18:49:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/shallow-clone-and-issue-with-modify-permission-to-source-table/m-p/69037#M33793</guid>
      <dc:creator>cszczotka</dc:creator>
      <dc:date>2024-05-14T18:49:33Z</dc:date>
    </item>
  </channel>
</rss>

