From 25ef8c5e672a19ccc955202d38b53c33c7815e52 Mon Sep 17 00:00:00 2001 From: David Baussart Date: Fri, 15 Sep 2023 20:21:43 +0200 Subject: [PATCH] dbt_invoke_template.yml documentation --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index 071ee53..b25c57c 100644 --- a/README.md +++ b/README.md @@ -193,6 +193,42 @@ dbt-invoke properties.delete - `` 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: