-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
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
Docs blocks don't work in exposures - 'doc' is undefined
#2913
Comments
Nice find @joellabes! This was definitely an oversight for v0.18.1; I imagine the fix to be quite straightforward, and I'd love to get it into v0.19.0. In particular, I think a prospective contributor may find it fruitful to:
class UnparsedExposure(HasYamlMetadata, Replaceable): That's just some wild speculation, though :) |
Describe the bug
Exposures containing a docs block don't compile in dbt Cloud because doc is undefined.
Steps To Reproduce
Create an exposure which references a doc block:
Expected behavior
The docs block to be rendered
Screenshots and log output
Compilation Error Failed to render models/exposures/licence_status_stats.yml from project educationperfect: Compilation Error Could not render {{ doc("licence_status_stats_descr") }}: 'doc' is undefined
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
dbt Cloud
The output of
python --version
:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: