From e6889b22eb1fcaedf18a17a2c9f6cfb4dda1e2ed Mon Sep 17 00:00:00 2001 From: Coba Date: Wed, 30 Oct 2024 22:33:15 +0100 Subject: [PATCH] dbt: add page (#14475) --- pages/common/dbt.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/dbt.md diff --git a/pages/common/dbt.md b/pages/common/dbt.md new file mode 100644 index 0000000000..e1bae244ed --- /dev/null +++ b/pages/common/dbt.md @@ -0,0 +1,32 @@ +# dbt + +> A tool to model transformations in data warehouses. +> More information: . + +- Debug the dbt project and the connection to the database: + +`dbt debug` + +- Run all models of the project: + +`dbt run` + +- Run all tests of `example_model`: + +`dbt test --select example_model` + +- Build (load seeds, run models, snapshots, and tests associated with) `example_model` and its downstream dependents: + +`dbt build --select example_model+` + +- Build all models, except the ones with the tag `not_now`: + +`dbt build --exclude "tag:not_now"` + +- Build all models with tags `one` and `two`: + +`dbt build --select "tag:one,tag:two"` + +- Build all models with tags `one` or `two`: + +`dbt build --select "tag:one tag:two"`