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.

Dataset types
| Type | What it is | Typical use |
|---|---|---|
| Streaming table | A table that processes new data incrementally from a streaming source | Ingestion of files or events, append-heavy sources |
| Materialized view | A table defined by a query that the platform keeps up to date, incrementally where possible | Joins, aggregations and gold tables |
| View | A temporary named query inside the pipeline | Reusable 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
| Mode | Behaviour | Choose when |
|---|---|---|
| Triggered | Runs, updates tables and stops | Data freshness of minutes to hours is fine and cost matters |
| Continuous | Keeps running and processes data as it arrives | Seconds 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
- Plan the layers. List bronze, silver and gold datasets and their owners.
- Ingest to bronze. Create streaming tables from files, with Auto Loader, or from message sources.
- Clean to silver. Add expectations and type, deduplicate and conform the data.
- Aggregate to gold. Define materialized views for reporting and features.
- Choose mode and compute. Pick triggered or continuous and set autoscaling limits.
- Run in development first. Use a development target with sample data, then promote.
- 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.
| Environment | Data | Compute | Purpose |
|---|---|---|---|
| Development | Small sample | Small, quick to stop | Build and debug |
| Test | Realistic subset | Moderate | Validate logic and expectations |
| Production | Full data | Autoscaling with limits | Serve 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
| Term | Meaning |
|---|---|
| Declarative pipeline | A pipeline defined by the tables it should produce |
| Streaming table | A table that processes new data incrementally |
| Materialized view | A query result kept up to date |
| Expectation | A data quality rule with an action on failure |
| Event log | Record 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.
