seeds/ that SQLBuild loads as tables in the warehouse. They’re useful for small, static reference data like lookup tables, category mappings, or configuration values.
Defining a seed
Place a CSV file in yourseeds/ directory:
.yml file under seeds/. You can use any filename and organize declarations however you like - one file per seed, or group related seeds together:
seeds/ directory (including subdirectories). The seed name in the YAML must match the CSV filename (without the .csv extension).
Referencing seeds
Seeds are referenced in models with__seed():
__seed() is distinct from __ref(). Using __ref() with a seed name raises a compile error with a message pointing you to __seed().
Loading seeds
Seeds are loaded automatically duringsqb build. You can also load them standalone:
Target overrides
Seeds inherit the project’s default database and schema. You can override these per seed:CSV settings
For non-standard CSV formats, configure parsing behavior withcsv_settings:
Available CSV settings
Per-column NA values
na_values can be a flat list (applied to all columns) or a mapping from column names to their NA values:

