Hooks
Learn how to run additional scripts with hooks.
We'll cover the following...
We'll cover the following...
What are hooks?
Hooks are simply additional SQL statements that dbt can run. This is useful when we want to run some statements that cannot be configured in a standard materialization.
There are four types of hooks:
on-run-startruns at the start of a dbt command.on-run-endruns at the end of a dbt command.pre-hookruns at the start of a model, seed, or snapshot. ...