PedramNavid / dbtpal

Neovim plugin for dbt
93 stars 8 forks source link

Telescope doesn't work with dbt 1.5 due to extra logging #19

Closed PedramNavid closed 1 year ago

PedramNavid commented 1 year ago

dbt 1.5 now logs to stdout when running dbt ls

This is a breaking change from 1.4 which only output JSON.

This can be solved by asking dbt not to generate logs dbt --log-level=NONE ls However this is a new flag in 1,5 which means we need to

1) Figure out what version of dbt the user is running 2) Set the appropriate flags depending on 1.4 or 1.5

Getting the version will require parsing text.