Spark SQL DML statements with Delta tables

Serverless SQL 216 Reputation points MVP

I am getting an unspecified error when running UPDATE, DELETE and MERGE sql statements on Delta tables when using Spark SQL APIs. I can use Scala APIs fine, I’m wondering if anyone else is having the same issue?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,674 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Euan Garden 136 Reputation points

    You can see here that SQL based DML is mostly not supported in the LF version of Delta Lake, it will come in the future.


    1 person found this answer helpful.

  2. Andy Cutler 1 Reputation point

    Ah OK thanks. So the SQL DML statements only work on Databricks at the moment.