You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pre-hooks and post-hooks can be specified in a config() block, but they require the use of a dictionary instead of a list of keyword arguments. Instead, dbt should support the specification of these hooks using pre_hook and post_hook aliases.
Before:
{{
config({
"post-hook" : "grant select on {{ this }} to db_reader"
})
}}
After:
{{
config(
post_hook="grant select on {{ this }} to db_reader"
)
}}
Who will this benefit?
This will be a quality of life improvement for many dbt users :)
The text was updated successfully, but these errors were encountered:
Feature
Feature description
Pre-hooks and post-hooks can be specified in a
config()
block, but they require the use of a dictionary instead of a list of keyword arguments. Instead, dbt should support the specification of these hooks usingpre_hook
andpost_hook
aliases.Before:
After:
Who will this benefit?
This will be a quality of life improvement for many dbt users :)
The text was updated successfully, but these errors were encountered: