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
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
{% docs marketing_attribution__account_lndc_attribution__description %} Morbi in ipsum sit amet pede facilisis laoreet. Donec lacus nunc, viverra nec, blandit vel, egestas et, augue. Vestibulum tincidunt malesuada tellus. Ut ultrices ultrices enim. Curabitur sit amet mauris. Morbi in dui quis est pulvinar ullamcorper. {% enddocs %}
{% docs marketing_attribution__account_lndc_attribution__person_id %} Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices. Suspendisse in justo eu magna luctus suscipit. {% enddocs %}
{% docs marketing_attribution__account_lndc_attribution__person_added_timestamp %} Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur sodales ligula in libero. Sed dignissim lacinia nunc. Curabitur tortor. Pellentesque nibh. Aenean quam. In scelerisque sem at dolor. {% enddocs %}
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:
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?
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: