Azure Databricks makes keyed snapshot replacement generally available
Lakeflow and standalone SQL streaming tables can replace one key’s rows without touching others. Older versions lose, but rows with the same sequence are kept.
Azure Databricks made REPLACE USING flows generally available on December 1 for Lakeflow pipelines and standalone SQL streaming tables. The flows require Databricks Runtime 18.2 or later. The December release notes say Azure rolls releases out in stages, so a workspace may not get a change until a week or more after its initial release date.
A snapshot is complete for a key, not for the table
The Lakeflow guide describes a source that sends all the rows for a key whenever that key changes. Say a retailer sends version 12 of its inventory for store A. If store A is the replacement key, the version 12 rows replace the previous rows for that store. Store B stays untouched if it isn't in the update. If version 11 for store A arrives later, it cannot overwrite version 12. But if the source sends only one changed product instead of the full store snapshot, a newer version can replace the store's other rows too. That is the difference between a partial snapshot of the table and a partial update to one key.
SEQUENCE BY is not a deduplication rule for ties. The guide says rows with the same key and sequence are appended, not replaced. That allows several products to share a snapshot version, but it also means a team should not assume that repeated rows with the same version collapse into one. For a feed of explicit inserts, updates and deletes, or a target that must retain version history, the guide instead points to AUTO CDC.
Where the flow runs
Lakeflow pipelines can define the flow in SQL or Python and run it on classic or serverless compute. For a standalone streaming table, the Databricks SQL guide specifies the inline FLOW REPLACE USING clause on CREATE OR REFRESH STREAMING TABLE, with columns matched BY NAME. Databricks manages the serverless pipeline for that table; there is no separate CREATE FLOW statement to deploy.
sources
- Azure Databricks December release notes: REPLACE USING GAlearn.microsoft.com
- Lakeflow: Partial snapshot replacement with REPLACE USING flowslearn.microsoft.com
- Databricks SQL: Use standalone streaming tableslearn.microsoft.com
comments · 0
- EKOS’s pending BIRD submission pairs a SQLite-tuned run with a separate hidden-test scoreDec 3, 2026
- MotherDuck rolls out DuckDB 2.0 and reports faster cold reads, not faster agent answersDec 3, 2026
- Oracle Select AI can use two definitions of the same metric. Source order won’t break the tieDec 3, 2026