Skip to content

Commit

Permalink
dbt_invoke_template.yml documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
david-whimsical committed Sep 15, 2023
1 parent 77882a4 commit a52b320
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,42 @@ dbt-invoke properties.delete <options>
- `<options>` uses the same arguments as for creating/updating property
files, except for `--threads`.


### Applying default properties using `dbt_invoke_template.yml`

You can pass custom default properties to be added to property files on update.
To do so, add a `dbt_invoke_template.yml` at the root of your dbt project,
using the following convention:


```
model:
meta:
owner: "@default"
columns:
foo: "bar"
seed:
meta:
owner: "@default"
columns:
foo: "bar"
snapshot:
meta:
owner: "@default"
columns:
foo: "bar"
analysis:
meta:
owner: "@default"
columns:
foo: "bar"
```

Note: only `model`, `seed`, `snapshot` and `analysis` are supported.

### Help

- To view the list of available commands and their short descriptions, run:
Expand Down

0 comments on commit a52b320

Please sign in to comment.