-
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
[CT-3041] [Bug] Semantic Model nested element descriptions do not support doc blocks #8509
Closed
2 tasks done
Tracked by
#8125
Labels
Comments
github-actions
bot
changed the title
[Bug] Semantic Model yml does not support doc blocks (reuse of descriptions)
[CT-3041] [Bug] Semantic Model yml does not support doc blocks (reuse of descriptions)
Aug 29, 2023
Hey thanks for catching this! We definitely want to support docs blocks in semantic model yml files. |
graciegoheen
added
enhancement
New feature or request
and removed
bug
Something isn't working
triage
labels
Aug 29, 2023
This feels very similar to: |
2 tasks
jtcohen6
changed the title
[CT-3041] [Bug] Semantic Model yml does not support doc blocks (reuse of descriptions)
[CT-3041] [Bug] Semantic Model nested element descriptions do not support doc blocks
Sep 8, 2023
graciegoheen
added
bug
Something isn't working
backport 1.6.latest
and removed
enhancement
New feature or request
labels
Sep 11, 2023
aranke
added a commit
that referenced
this issue
Sep 25, 2023
5 tasks
aranke
added a commit
that referenced
this issue
Sep 26, 2023
aranke
added a commit
that referenced
this issue
Sep 26, 2023
5 tasks
aranke
added a commit
that referenced
this issue
Sep 27, 2023
QMalcolm
pushed a commit
that referenced
this issue
Oct 9, 2023
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is this a new bug in dbt-core?
Current Behavior
The semantic model has entities, measures and dimensions. Each of these can have name, description etc.
Writing a manual description works, but re-using a predefined description does not work. Compilation fails with
Yes, I am absolutely sure the doc block referenced does exist as it is used in the metric description as well.
Expected Behavior
As everywhere else in dbt, I would expect DRY and I would expect to be able to reuse descriptions.
Steps To Reproduce
Semantic model that compiles:
and this does not compile
I have tested the descriptions of entities, measures and dimensions separately as well, none of them accept the doc block.
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
spark
Additional Context
No response
The text was updated successfully, but these errors were encountered: