About config property
- Models
- Seeds
- Snapshots
- Tests
- Sources
- Metrics
- Exposures
- Semantic models
- Saved queries
models/<filename>.yml
version: 2
models:
- name: <model_name>
config:
<model_config>: <config_value>
...
seeds/<filename>.yml
version: 2
seeds:
- name: <seed_name>
config:
<seed_config>: <config_value>
...
snapshots/<filename>.yml
version: 2
snapshots:
- name: <snapshot_name>
config:
<snapshot_config>: <config_value>
...
<resource_path>/<filename>.yml
version: 2
<resource_type>:
- name: <resource_name>
tests:
- <test_name>:
<argument_name>: <argument_value>
config:
<test_config>: <config-value>
...
columns:
- name: <column_name>
tests:
- <test_name>
- <test_name>:
<argument_name>: <argument_value>
config:
<test_config>: <config-value>
...
models/<filename>.yml
version: 2
sources:
- name: <source_name>
config:
<source_config>: <config_value>
tables:
- name: <table_name>
config:
<source_config>: <config_value>
Definition
The config
property allows you to configure resources at the same time you're defining properties in YAML files.
0