cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.