Catalog Checks: Catalog Seeds#
Note
The below checks require both catalog.json and manifest.json to be present.
Functions:
| Name | Description |
|---|---|
check_seed_columns_are_all_documented |
All columns in a seed CSV file should be included in the seed's properties file, i.e. |
check_seed_columns_are_all_documented
#
All columns in a seed CSV file should be included in the seed's properties file, i.e. .yml file.
Warning
This check is only supported for dbt 1.9.0 and above.
Rationale
Seed CSV files often serve as reference data (e.g. country codes, product categories) that are queried directly by downstream models. When a column exists in the CSV but not in the properties file, it is invisible to documentation tools, data catalogues, and column-level tests. This check ensures that every column in a seed is explicitly declared, making it easier for consumers to understand the seed's schema and for teams to apply descriptions and tests uniformly.
Receives at execution time:
| Name | Type | Description |
|---|---|---|
catalog_node |
CatalogNodeEntry
|
The CatalogNodeEntry object to check. |
manifest_obj |
ManifestObject
|
The ManifestObject object parsed from |
seeds |
list[SeedNode]
|
List of SeedNode objects parsed from |
Other Parameters (passed via config file):
| Name | Type | Description |
|---|---|---|
description |
str | None
|
Description of what the check does and why it is implemented. |
exclude |
str | None
|
Regex pattern to match the seed path. Seed paths that match the pattern will not be checked. |
include |
str | None
|
Regex pattern to match the seed path. Only seed paths that match the pattern will be checked. |
severity |
Literal[error, warn] | None
|
Severity level of the check. Default: |
Example(s):