<?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 java.lang.SecurityException: Could not verify permissions for DeleteFromTable
ERROR IN EXTERNAL SYNAPSE TABLE in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/java-lang-securityexception-could-not-verify-permissions-for/m-p/3984#M845</link>
    <description>&lt;P&gt;Hi guys, I am trying to delete an external table in Databricks that is connected to a Synapse table (via the com.databricks.spark.sqldw connector) but got the error shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WhatsApp Image 2023-05-25 at 12.02.52 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/158i0DAE0CAF4914ADD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2023-05-25 at 12.02.52 PM" alt="WhatsApp Image 2023-05-25 at 12.02.52 PM" /&gt;&lt;/span&gt;Apart from that, when I try to execute an DELETE and INSERT actions (like an upsert) in the postActions option, it seems like the table in Synapse gets corrupted as it does not show any information. The SQL code is the shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WhatsApp Image 2023-05-25 at 12.08.16 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/166iC1DEE19580F38DE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2023-05-25 at 12.08.16 PM" alt="WhatsApp Image 2023-05-25 at 12.08.16 PM" /&gt;&lt;/span&gt;When this code runs, it keeps running the "DELETE statement" of the postActions (in Synapse) until it gets timeOuted as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WhatsApp Image 2023-05-25 at 12.13.14 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/169i0DC1785C4EEF60AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2023-05-25 at 12.13.14 PM" alt="WhatsApp Image 2023-05-25 at 12.13.14 PM" /&gt;&lt;/span&gt;The twist here is that it worked for many months and recently started to fail like this way. Additionally, governance says permissions in the user from Synapse and IAM are all correctly assigned, what do you think is the problem ?&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 18:15:51 GMT</pubDate>
    <dc:creator>carlosst01</dc:creator>
    <dc:date>2023-05-25T18:15:51Z</dc:date>
    <item>
      <title>java.lang.SecurityException: Could not verify permissions for DeleteFromTable
ERROR IN EXTERNAL SYNAPSE TABLE</title>
      <link>https://community.databricks.com/t5/data-engineering/java-lang-securityexception-could-not-verify-permissions-for/m-p/3984#M845</link>
      <description>&lt;P&gt;Hi guys, I am trying to delete an external table in Databricks that is connected to a Synapse table (via the com.databricks.spark.sqldw connector) but got the error shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WhatsApp Image 2023-05-25 at 12.02.52 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/158i0DAE0CAF4914ADD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2023-05-25 at 12.02.52 PM" alt="WhatsApp Image 2023-05-25 at 12.02.52 PM" /&gt;&lt;/span&gt;Apart from that, when I try to execute an DELETE and INSERT actions (like an upsert) in the postActions option, it seems like the table in Synapse gets corrupted as it does not show any information. The SQL code is the shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WhatsApp Image 2023-05-25 at 12.08.16 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/166iC1DEE19580F38DE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2023-05-25 at 12.08.16 PM" alt="WhatsApp Image 2023-05-25 at 12.08.16 PM" /&gt;&lt;/span&gt;When this code runs, it keeps running the "DELETE statement" of the postActions (in Synapse) until it gets timeOuted as shown below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WhatsApp Image 2023-05-25 at 12.13.14 PM"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/169i0DC1785C4EEF60AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2023-05-25 at 12.13.14 PM" alt="WhatsApp Image 2023-05-25 at 12.13.14 PM" /&gt;&lt;/span&gt;The twist here is that it worked for many months and recently started to fail like this way. Additionally, governance says permissions in the user from Synapse and IAM are all correctly assigned, what do you think is the problem ?&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 18:15:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/java-lang-securityexception-could-not-verify-permissions-for/m-p/3984#M845</guid>
      <dc:creator>carlosst01</dc:creator>
      <dc:date>2023-05-25T18:15:51Z</dc:date>
    </item>
  </channel>
</rss>

