cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.SecurityException: Could not verify permissions for DeleteFromTable ERROR IN EXTERNAL SYNAPSE TABLE

carlosst01
New Contributor II

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:

WhatsApp Image 2023-05-25 at 12.02.52 PMApart 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:

WhatsApp Image 2023-05-25 at 12.08.16 PMWhen this code runs, it keeps running the "DELETE statement" of the postActions (in Synapse) until it gets timeOuted as shown below:

WhatsApp Image 2023-05-25 at 12.13.14 PMThe 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 ?

0 REPLIES 0

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group