English · IndiaLog in
Rackwave Technologies
Request quote Free consultation
DataUpdated 26 Nov 2026

Databricks Delta Live Tables: Declarative Data Pipelines

Delta Live Tables: declarative pipelines, expectations, CDC, modes and cost.

Written by Rohan Verma
  • Published25 Nov 2026
  • Read time6 min
  • Length1,303 words
Share this guide

What are Delta Live Tables? Delta Live Tables is a declarative framework in Databricks for building reliable data pipelines. Instead of writing the orchestration, dependency handling, retries and incremental logic yourself, you declare the tables you want and the queries that produce them, and the platform manages execution, ordering, scaling and monitoring. It also lets you attach data quality rules called expectations. This guide explains how Delta Live Tables works, the difference between streaming tables and materialized views, how expectations and change data capture work, how to choose triggered or continuous mode, cost and operations, and when a plain job is better. Names and features evolve as the pipeline products are renamed, so confirm details in current Databricks documentation.

Short answer: Delta Live Tables lets you declare tables and quality rules in SQL or Python and have Databricks manage dependencies, incremental processing and monitoring. Use it for layered pipelines, and use jobs for steps that are not table definitions.

What is Delta Live Tables?

In a traditional pipeline you write notebooks, decide the order, handle failures and manage checkpoints. In a declarative pipeline you define each dataset as a query and let the engine work out the graph. The platform infers dependencies from the queries, runs them in order, retries failures, scales compute and records metrics and lineage. It builds on Delta Lake tables inside Databricks and fits the bronze, silver and gold layering in medallion architecture.

Delta Live Tables diagram
Figure 1. Delta Live Tables: source, bronze, silver and how they relate.

Dataset types

TypeWhat it isTypical use
Streaming tableA table that processes new data incrementally from a streaming sourceIngestion of files or events, append-heavy sources
Materialized viewA table defined by a query that the platform keeps up to date, incrementally where possibleJoins, aggregations and gold tables
ViewA temporary named query inside the pipelineReusable logic that is not stored

Choose streaming tables for data that arrives and does not change, and materialized views for derived results that depend on multiple inputs.

Data quality expectations

An expectation is a rule on a dataset, such as a column not being null or a value being in range. For each rule you choose what happens when rows fail: record the failure and keep the row, drop the row or fail the update. The pipeline reports pass and fail counts for each rule, which gives a built-in view of data quality over time. Use strict actions for critical keys and lenient actions for fields that are merely nice to have, and send dropped rows to a quarantine table for review. See data observability.

Change data capture

  • Pipelines can apply changes from a source feed of inserts, updates and deletes into a target table using a built-in change handling operation.
  • You specify the key, the sequence column that orders changes and whether to keep history as a slowly changing dimension.
  • This removes most of the hand-written MERGE logic and handles late and out-of-order events.
  • Test deletes and late data explicitly, since business rules differ. See change data capture.

Triggered or continuous mode

ModeBehaviourChoose when
TriggeredRuns, updates tables and stopsData freshness of minutes to hours is fine and cost matters
ContinuousKeeps running and processes data as it arrivesSeconds or minutes of latency is a real requirement

Continuous pipelines keep compute running, so use them only where the latency pays for itself.

How to build a pipeline

  1. Plan the layers. List bronze, silver and gold datasets and their owners.
  2. Ingest to bronze. Create streaming tables from files, with Auto Loader, or from message sources.
  3. Clean to silver. Add expectations and type, deduplicate and conform the data.
  4. Aggregate to gold. Define materialized views for reporting and features.
  5. Choose mode and compute. Pick triggered or continuous and set autoscaling limits.
  6. Run in development first. Use a development target with sample data, then promote.
  7. Monitor. Review the event log, expectation metrics and run duration.

Cost and operations

Cost depends on compute used by the pipeline and the product tier. Triggered mode with autoscaling is the cheapest pattern for most batch needs. Keep the number of datasets sensible, avoid unnecessary full refreshes and review pipeline compute monthly. Use development mode while building so clusters stop quickly and retries do not mask errors. Deploy pipelines as code and give each one an owner and alert route. See FinOps for a review process.

When a plain job is better

  • You need custom code that is not a table definition, such as calling an external API.
  • You need strict control over ordering across unrelated systems. See Workflows.
  • Your logic does not fit the supported query patterns for incremental processing.
  • The team already has stable, tested notebooks and little to gain from rewriting.

Testing and deployment

Develop in a development target with a sample of data and a small cluster, then promote the same code to production with production sources and larger compute. Use version control for pipeline code and keep configuration such as source paths and target schemas outside the code so each environment differs only by settings. Test expectations with deliberately bad records, test change handling with late and deleted rows and run a full refresh in a non-production environment before depending on it. When a definition changes, check the effect on downstream datasets and communicate it to consumers.

EnvironmentDataComputePurpose
DevelopmentSmall sampleSmall, quick to stopBuild and debug
TestRealistic subsetModerateValidate logic and expectations
ProductionFull dataAutoscaling with limitsServe consumers

Monitoring quality over time

The event log holds expectation results, row counts, durations and lineage. Query it to build a quality dashboard with pass rates by dataset and rule, rows dropped per run and run duration trends. Alert when a pass rate falls below a threshold or when volumes change sharply, because both are early signs of upstream problems. Review the dashboard in a short weekly meeting with the data owners so issues are fixed at the source instead of patched downstream.

Common mistakes

  • Putting everything in one giant pipeline that nobody can reason about.
  • Setting every expectation to fail the update, so minor issues stop production.
  • Using continuous mode by default.
  • Ignoring the event log, which holds quality and lineage information.
  • Rewriting working pipelines only to adopt the new framework.

A worked example

A telecom company ingests call detail records as files. A streaming table loads raw files, a silver table applies expectations that drop records with no subscriber id and quarantine bad timestamps and a materialized view calculates daily usage by plan. The pipeline runs hourly in triggered mode. Dashboards show expectation pass rates, and a drop in valid records one morning pointed straight to a changed upstream file format.

Because the pipeline is declared in code, the fix was a one-line change reviewed and deployed the same day. The example is illustrative.

Best practices and support

  • Keep each pipeline focused on one domain or data product.
  • Name datasets consistently and document them in the catalog. See Unity Catalog.
  • Treat expectations as living tests and review failure trends monthly.
  • Version control all pipeline code and use separate development and production targets.

Our data analytics service designs and builds declarative pipelines, and our data governance service helps define the quality rules.

Key takeaways

  • Delta Live Tables lets you declare datasets and quality rules.
  • Streaming tables ingest and materialized views derive results.
  • Expectations track and enforce data quality.
  • Use triggered mode unless low latency is required.
  • Keep pipelines focused and use jobs for imperative steps.

Quick glossary

TermMeaning
Declarative pipelineA pipeline defined by the tables it should produce
Streaming tableA table that processes new data incrementally
Materialized viewA query result kept up to date
ExpectationA data quality rule with an action on failure
Event logRecord of pipeline runs, quality and lineage

Read next: BigQuery vs Snowflake: Which Cloud Data Platform? · BigQuery Streaming Inserts: Real-Time Ingestion Guide · BigQuery Access Control: IAM, Policy Tags and Row Security

Frequently asked questions

What are Delta Live Tables?

A declarative framework in Databricks where you define tables and quality rules and the platform manages the pipeline.

What is the difference between a streaming table and a materialized view?

A streaming table incrementally processes new data from a streaming source, while a materialized view is a query result kept up to date.

What are expectations?

Data quality rules on a dataset with actions to record, drop or fail on violations.

Does it support change data capture?

Yes, with built-in change handling that applies inserts, updates and deletes using a key and a sequence column.

Should I use triggered or continuous mode?

Use triggered for most batch needs and continuous only where low latency is a real requirement.

How do I monitor a pipeline?

Use the event log and pipeline UI for run status, expectation metrics, lineage and performance.

Is it only for SQL?

No. Pipelines can be written in SQL or Python.

When should I avoid it?

When you need custom imperative steps or the logic does not fit incremental table definitions.

Was this guide helpful?Your answer helps us decide what to improve. It is not linked to you.

#delta live tables#databricks delta live tables#dlt expectations#databricks declarative pipelines#dlt streaming tables

About the author

Rohan Verma

Data Platforms Consultant

Rohan works across CDP, data warehouse, and analytics platform implementations, helping clients figure out which data infrastructure actually fits their scale rather than defaulting to whatever's currently trending.

Data Platforms & Technical Architecture

Ready to put AI and data to work?

Book a free consultation and leave with a plan, not a pitch.

Get a free consultationRequest quote