Skip to content
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

Weird rendering behavior for schema.yml descriptions #2083

Closed
drewbanin opened this issue Jan 31, 2020 · 0 comments · Fixed by #2096
Closed

Weird rendering behavior for schema.yml descriptions #2083

drewbanin opened this issue Jan 31, 2020 · 0 comments · Fixed by #2096
Labels
bug Something isn't working

Comments

@drewbanin
Copy link
Contributor

Describe the bug

If a schema.yml description contains a doc() call, then that docs block is rendered. If it contains jinja that does not contain a doc block, then it isn't rendered at all in the manifest!

Steps To Reproduce

schema.yml

models:
    - name: debug
      description: "{{ 1 + 1 }}"

Resulting manifest:

...
"description": "{{ 1 + 1 }}",
...

What sort of quantum wizardy is this?

Expected behavior

In the example above, I'd expect:

models:
    - name: debug
      description: "{{ 1 + 1 }}"

to render out to a description of "2".

Screenshots and log output

how

Screen Shot 2020-01-30 at 7 14 50 PM

The output of dbt --version:

dev/barbara-gittings
@drewbanin drewbanin added the bug Something isn't working label Jan 31, 2020
@drewbanin drewbanin added this to the Barbara Gittings milestone Feb 10, 2020
beckjake added a commit that referenced this issue Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant