🗓️Software-Defined Asset
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
Common mistake
Key takeaways
- 1Data in code. Each asset is a named table or file.
- 2Knows its inputs. It lists the assets it reads.
- 3Rebuild by need. Stale assets can be built again.