This extension makes vscode seamlessly work with dbt™: Auto-complete, preview, column lineage, AI docs generation, health checks, cost estimation etc
452
stars
86
forks
source link
Model properties not displayed in preview #1370
Closed
egononega closed 1 week ago
Expected behavior
Preview should be the same as the compiled model test.sql when trying to display {{ model.meta }}
target\compiled\meta_tags\models\test.sql {'project': 'YES', 'project_model': 'YES', 'schema': 'YES', 'model': 'YES'}
Actual behavior
some properties are ignored by the preview. The result of the preview is:
models\test.sql (preview) {'project': 'YES', 'model': 'YES'}
Steps To Reproduce
schema.yml
Model test.sql
dbt_project.yml
model.discription is also missing from the preview, and displayed in the compiled query.
Log output/Screenshots
No response
Operating System
windows 11
dbt version
1.8.4
dbt Adapter
snowflake
dbt Power User version
v0.44.0
Are you willing to submit PR?