-
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
Jinja not rendering for sources in 0.14.0 #1619
Comments
Thanks @nydnarb - we'll check this one out! |
I can reproduce this specifically for column-level descriptions. Are you seeing that dbt fails to interpolate these descriptions specifically for columns, or are you seeing this same error for source-level / table-level descriptions? |
Good catch! Yes, the description at the table level is fine. I'm only seeing the issue at column level. I updated the original issue to reflect this. |
Fixed in #1633 -- this is going out in 0.14.1 |
Issue
Issue description and Results
While upgrading to 0.14.0, I noticed an issue with the documentation site. Column descriptions for sources were not having their Jinja rendered. For example, if my source YML looked like this
then on the documentation site I would see the string {{ doc('qux') }}.
However, this works just fine in 0.13.0. Furthermore, model descriptions and column descriptions for models are being rendered just fine.
Lastly, it appears this was an issue before and was previously fixed: #1484
System information
dbt versions 0.13.0 and 0.14.0
python version 2.7.10
Mac OS Mojave 10.14.5
Steps to reproduce
Here are snippets from my project. Also, the previously linked issue has a great explanation of how to reproduce:
sources.yml
sources.md
Then,
dbt docs generate && dbt docs serve
.EDIT
The issue only affects source columns. A previous version of this issue reported that it was an issue with the table level description as well.
The text was updated successfully, but these errors were encountered: