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
In #7499 we defined dbt-core's representation of a Semantic node. In #7456 we defined the the expected YAML representation of a SemanticModel. This issue is to begin parsing SemanticModels defined in YAML to SemanticModel nodes on the Manifest. We do have a prototype of one way this could be done, #7187, if inspiration is needed.
SemanticModel node parsing is slight more complicated than Metric Parsing (#7501) in that additional nodes can be created. Specifically if a Measure on the SemanticModel is defined with create_metric: true then a Metric Node should be created for the measure. This issue IS NOT expected to handle that edge case. We have a separate issue, #7504, for tackling that specific issue.
github-actionsbot
changed the title
Begin "basic" parsing of SemanticModel to the Manifest as nodes
[CT-2525] Begin "basic" parsing of SemanticModel to the Manifest as nodes
May 3, 2023
During ref resolution (end of parsing), we will need to include an object representing the resolved relation for the model that the SemanticModel is referencing, via model: ref('something').
In #7499 we defined dbt-core's representation of a Semantic node. In #7456 we defined the the expected YAML representation of a SemanticModel. This issue is to begin parsing SemanticModels defined in YAML to SemanticModel nodes on the Manifest. We do have a prototype of one way this could be done, #7187, if inspiration is needed.
SemanticModel node parsing is slight more complicated than Metric Parsing (#7501) in that additional nodes can be created. Specifically if a
Measure
on the SemanticModel is defined withcreate_metric: true
then a Metric Node should be created for the measure. This issue IS NOT expected to handle that edge case. We have a separate issue, #7504, for tackling that specific issue.Blocked by:
The text was updated successfully, but these errors were encountered: