We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This might already work correctly for some adapters / hook-types. dbt should not choke on hooks that do not contain any sql.
For example:
post-hook: "{% if target.name == 'prod'%} grant usage on schema to user {% endif %}"
or
models: post-hook: # no hook here
Both of these cases (empty string / None) should be skipped in hooks
The text was updated successfully, but these errors were encountered:
drewbanin
No branches or pull requests
This might already work correctly for some adapters / hook-types. dbt should not choke on hooks that do not contain any sql.
For example:
or
Both of these cases (empty string / None) should be skipped in hooks
The text was updated successfully, but these errors were encountered: