Skip to content

Latest commit

 

History

History
87 lines (51 loc) · 3.75 KB

dbt.md

File metadata and controls

87 lines (51 loc) · 3.75 KB

You can change things between tables and views by changing a keyword rather than writing the data definition language (DDL) to do this behind the scenes. [https://docs.getdbt.com/guides/snowflake?step=8#change-the-way-your-model-is-materialized]

TODO: --full-refresh [https://docs.getdbt.com/guides/snowflake?step=8#change-the-way-your-model-is-materialized]

Materializations supported

dbt ships with five materializations:

  • view
  • table
  • incremental
  • ephemeral
  • materialized_view.

Check out the dbt documentation on materializations for more information on each of these options.

dbt also supports creating your own custom materializations, if required, however this is an advanced feature of dbt.

Model configurations supported

dbt allows us to configure:

tags to support easy categorization and graph selection custom schemas to split your models across multiple schemas aliases if your view/table name should differ FROM the filename Snippets of SQL to run at the start or end of a model, known as hooks Warehouse-specific configurations for performance (e.g. sort and dist keys on Redshift, partitions on BigQuery)

Check out the dbt docs on model configurations to learn more.

Deployments

Deployment operation tools

TODO: See https://docs.getdbt.com/docs/deploy/deployments

Deployment monitoring tools

TODO: See https://docs.getdbt.com/docs/deploy/deployments#monitor-jobs-and-alerts

Other references

Notes on DBT Cloud

Notes for VSCode IDE

  • TODO: See extension innoverio.vscode-dbt-power-user

Notes for Snowflake

Cost Monitoring tools

Notes for BigQuery