Skip to content

[BUG] do not compile unnecessary code when previewing query results in VSCE #421

@graciegoheen

Description

@graciegoheen

Describe the bug

Previewing query results using the VSCE is currently slower than running dbtf show for given SQL query.

anders' understanding is that any "action"/"trigger" will first compile your project before doing anything. where actions can be

  • saving a file
  • previewing a model
  • previewing the compiled sql

note from connie:

We are going to have compile timing telemetry soon, so we can see how much this is impacting UX. My guess is...substantially, since we get anecdotal feedback that the full project compile takes a long time.

To Reproduce

struggling to create a repo since i can't tell which actual commands are run (created #423 to help debug)

Expected behavior

make sure we're not compiling stuff that doesn't need to be compiled in the course of previewing a query

Metadata

Metadata

Labels

bugSomething isn't workingperformancevscePertains to the VS Code Extension / Language Server

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions