fivetran / fivetran/dbt-language-server

dbt compile works inconsistently

Open
#714 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi, I often use the dbt compile tool and noticed that sometimes it does what I expect and spits out SQL in the window to the right, and sometimes it does not. And currently, it is not populating any SQL. Could anyone tell me what I need to do before I can see a query preview on the right-hand side? This is for a model that already exists and I did not write--I just want to play with the SQL in a SQL editor.

And I am saying "dbt compile" and "show query preview" interchangeably because I noticed both commands give me what I want...sometimes. But would love to know the difference as I'm sure there is one.

![image](https://user-images.githubusercontent.com/107516600/216155211-58fa9f57-f752-4640-bccc-deb21e78d5e4.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.