The storage location in which a streaming query records its offsets, state, commits and ID. Thanks to it, a restarted query picks up precisely where it left off. Never point two queries at the same one.
Also called streaming checkpoint.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains Checkpoint in context, with comparison tables and the common traps.
Terms in this definition
- General-purpose v1
The older storage account kind (
Storage), which lacks access tiers, Archive and premium file shares and retires on 13 October 2026. Converting to ZRS requires first upgrading to GPv2, a one-way change. - Streaming
Sending model output piece by piece as server-sent events. Only the delivery changes; the answer's content, completeness and cost stay the same.
- State
A parameter in OAuth that carries custom data through the authorisation flow and back, as with the "Support state parameter" option in APIM.
- WHERE
Limits a SELECT, UPDATE or DELETE to just the rows meeting a condition. Omit it, and the statement hits every row.
Related terms
- Asynchronous checkpointing
Lets a stateful stream begin its next micro-batch before the state checkpoint has completed, which lowers latency and preserves exactly-once guarantees. If an asynchronous checkpoint fails for any reason, the query fails too.
- Auto Loader
The
cloudFilesStructured Streaming source, which picks up new files from cloud storage or volumes as they arrive. Its checkpoint records progress so each file is processed exactly once, and it can infer and evolve the schema. - Production checkpoint
Hyper-V's default kind, capturing data-consistent state through VSS, or a file system freeze for Linux guests, but no memory. Choosing ProductionOnly makes creation fail instead of quietly using a standard checkpoint.
- Release gate
A checkpoint on the way into or out of a deployment stage, where a build waits until approvals are given and health signals look good. YAML pipelines implement it as checks attached to protected resources, classic releases as deployment gates, and GitHub as environment protection rules. Merges are guarded separately, by quality gates.
- Shuffle partitions
How many partitions Spark creates when shuffling, controlled by
spark.sql.shuffle.partitions. For a stateful streaming query, the checkpoint's creation locks in this value, except where on-demand state repartitioning applies. - Source evolution
Available on Databricks Runtime 18.2 and above, this assigns stable names to Structured Streaming sources so you can reorder, add or remove them. It requires a new checkpoint, and that checkpoint can't later switch it off.
- State reader
Debugging tools that let you inspect Structured Streaming state and metadata as a read-only batch, through DataFrame or SQL functions. You need to be able to read the checkpoint path.
- State store provider
RocksDB has been the default since Databricks Runtime 17.3. This is the part of a stateful streaming query that keeps its state, and swapping it for another between restarts means starting a fresh checkpoint.