Skip to content
BENIBIX Learn

Software-Defined Asset

Data🗓️ OrchestrationOrchestration Tools

Also known as Dagster Asset, Data Asset (Dagster), SDA

A table or file in Dagster, described in code. The code also says how to build it.

Think of it like

It is a label on a jar. It says what is inside and which jars it came from.

Example

The daily sales table reads the raw orders table. When raw orders change, Dagster marks daily sales as stale. It can then build it again.

Why it matters

It ties the code to the data it makes. You can ask "is this table fresh?" instead of "did this task run?".

Definition

A software-defined asset is a table, file or model described in code, in Dagster. The code says the asset's name, what it is built from and how to build it. Dagster calls them assets for short. From these, Dagster knows the whole chain of data. It can rebuild one asset and everything that depends on it. It also tracks when each one was last made.
Each box on the right is a software-defined asset. The stale badge says it needs building again.

Common mistake

Making every small step its own asset. An asset should be data someone uses, not a hidden middle step.

Key takeaways

  1. 1
    Data in code. Each asset is a named table or file.
  2. 2
    Knows its inputs. It lists the assets it reads.
  3. 3
    Rebuild by need. Stale assets can be built again.