Multi-Statement Transactions in Unity Catalog: Atomic Writes on Delta and Iceberg @Databricks
Multi-Statement Transactions in Unity Catalog: Atomic Writes on Delta and Iceberg  @Databricks
Uploaded November 2026 | Updated November 2026, 21 hours ago
Multi-statement transactions let you write to several tables as one atomic unit
on Databricks. Wrap the statements in BEGIN ATOMIC … END and either every write
commits or none of them do. Generally available since 16 October 2026 on Unity
Catalog managed Delta Lake and Apache Iceberg tables.

A single write to a single Delta table has always been atomic. The gap was only
ever ACROSS tables — and it's why workloads that need two tables to change
together have stayed in a data warehouse, which means a second copy of the data
under a second governance model, plus jobs to move it and jobs to check it.

This walkthrough shows the whole path, with the evidence recorded on real
product UI: the transaction itself, the success path, a deliberately failed
batch, governed reads on the same table, and the audit trail.

CHAPTERS
0:00 What happens when one write lands and the other doesn't
0:05 The problem: a phantom audit record
1:29 Multi-statement transactions on the lakehouse
1:50 What the transaction has to do
2:13 The code: BEGIN ATOMIC, validation, two inserts
3:28 Success path: both tables, zero orphans
3:38 Failure path: the batch that aborts
4:34 Governance: row filters and column masks on a transacting table
5:31 Observability: query history, audit logs, lineage
6:10 Old architecture vs one boundary
7:00 Available now
7:17 One statement, one boundary

HOW IT WORKS
• Syntax: BEGIN ATOMIC … END. The block auto-commits on success and
auto-rolls-back on failure — never issue COMMIT or ROLLBACK for it.
• Supported inside the block: INSERT, UPDATE, DELETE, MERGE, SELECT, variable
declaration, control flow, and SIGNAL.
• Validation: raise with SIGNAL to abort the entire block.
• DDL is not supported inside a transaction. Stage with a temporary view first.
• Concurrency is optimistic. Conflicts are detected at commit time and abort the
whole block. The rollback is automatic; retrying with fresh data is the
caller's responsibility.
• Lineage events are emitted as reads and writes occur, and they persist even if
the transaction rolls back — so an attempt that committed nothing still leaves
a trace.

REQUIREMENTS
• Unity Catalog managed Delta Lake or Apache Iceberg tables, referenced by name
rather than by path
• Catalog commits enabled
• A SQL warehouse, serverless compute, or Databricks Runtime 18.0 or later for
non-interactive BEGIN ATOMIC

QUESTIONS THIS ANSWERS

Does Unity Catalog support Apache Iceberg tables?
Yes. Multi-statement transactions went generally available on 16 October 2026
for Unity Catalog managed Delta Lake and managed Apache Iceberg tables. The same
transaction works across both.

What is the difference between managed and external tables in Unity Catalog?
Multi-statement transactions require Unity Catalog MANAGED tables with catalog
commits enabled. External and path-based tables cannot take part in a
transaction, because the catalog has to arbitrate the commit.

Can a table with a row filter or a column mask take part in a transaction?
Yes. A Unity Catalog managed table carrying a row filter and a column mask can
be written to and read from inside the block, and the column mask is still
enforced on a read inside the transaction.

Is a single write to one Delta table atomic?
Yes, and it always has been. The gap this closes is atomicity ACROSS tables.

Do I still need retry logic?
Yes. Concurrency is optimistic, so a conflict aborts the whole block. What you
stop needing is logic to repair a half-written state.
Multi-Statement Transactions in Unity Catalog: Atomic Writes on Delta and IcebergHow Syngenta turns AI experimentation into business impact | Data + AI Executive Series: Fast 5Whats new in Unity AI Gateway: multi-AI governance and cost control #databricksDatabricks Genie Code: From Sketch to DashboardA guide on how to operationalize the Databricks AI Security Framework (DASF)Why Barracuda’s CIO Says Accountability Is Non-Negotiable in AI | Siroui MushegianHow DEFRA and Natural England Accelerate Peatland Restoration with AI and DatabricksHow Mastercard standardizes on Lakebase to power agentic operationsComo a EMS organiza dados para pesquisar novos medicamentos com DatabricksEasy hack to optimize Scala and Java in DatabricksNo-Code Databricks: Genie Agents, Genie Code, Lakeflow Designer ExplainedDiscovery Bank creates a robust ecosystem of data products that personalize the banking experience
Databricks |

Multi-Statement Transactions in Unity Catalog: Atomic Writes on Delta and Iceberg

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER