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
[sqlfluff:templater:dbt]
project_dir = <relative or absolute path to dbt_project directory>
profiles_dir = <relative or absolute path to the directory that contains the profiles.yml file>
profile = <dbt profile>
target = <dbt target>
but always end up with this error
To me it seems like SQLfluff is looking for a profiles.yml although I don't have one since I connect to dbt cloud.
I couldn't find a setting to tweak this behaviour.
Running into the same error. It seems to be that dbt has a built-in version of sqlfluff which you can run by using dbt sqlfluff format. This send the invocation to the cloud. Now that's why you don't have a profiles.yml. But for some reason I'm unable to configure the extensions to use the built-in dbt command instead of the standalone sqlfluff command. Have you found a solution to this problem yet?
Hello,
I am using dbt power user in VS code with dbt cloud, Snowflake and try to get SQLfluff going.
I have the SQLfluff extension installed, and use the dbt templater as per these instructions: https://docs.sqlfluff.com/en/stable/configuration/templating/dbt.html
I tired various configurations for this part:
but always end up with this error
To me it seems like SQLfluff is looking for a profiles.yml although I don't have one since I connect to dbt cloud.
I couldn't find a setting to tweak this behaviour.
This is how my .sqlfluff file looks otherwise:
I'm not sure where else I should look to try to fix this.
The text was updated successfully, but these errors were encountered: