cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

[TASK_WRITE_FAILED] Task failed while writing rows to abfss

FrancisApel
New Contributor II

I am trying to insert into an already created delta table in Unity Catalog. I am getting the error:

[TASK_WRITE_FAILED] Task failed while writing rows to abfss://xxxx@xxxxxxxxxxxxxxxx.dfs.core.windows.net/__unitystorage/catalogs/xxxxxxxx-c6c8-45d8-ac3f-7ade50a0bbed/tables/76b5d99e-d355-4808-95d6-xxxxxxxxxxx.

The insert involves joining 17 tables (actually temporary view of tables) to get the data needed to insert. The code is created like follows:

 

 
INSERT INTO catalog1.schema1.product
(column1, column2, column3...)
SELECT a.col1, b.col2, c.col1...
FROM table1 a
LEFT JOIN table2 b on a.col1=b.col1
LEFT JOIN table3 C on a.col1=c.col1
...
 
I tried this with a warehouse cluster and a spark cluster and got the same error.
I also created a simple test table in the same UC catalog/schema and was able to insert into it without any issues (so it's not a security related issue).
 
Any help in how to further troubleshoot this issue would be greatly appreciated.
3 REPLIES 3

Atanu
Esteemed Contributor
Esteemed Contributor

Can you please share the driver log associated with this error. Would like to see the full error thread.

FrancisApel
New Contributor II

Where would I find the driver log for Serverless SQL Warehouse?

chemajar
New Contributor III

Hi, Francis.

Did you resolve the issue ?

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.