SQLFluff always returns templating/parsing errors

Question:

I am trying to set up sqlfluff but for all of our queries it always returns this when running sqlfluff fix

[1 templating/parsing errors found]

Is there any way how I can force it to tell me the error that occurs? I tried running it on highes verbosity level but no useful information logged.

Asked By: kober

||

Answers:

Use the command sqlfluff parse, which will give you the line numbers of where the parse violations are occurring. Once you’ve rectified all parse violations, run sqlfluff fix again.

Answered By: Nico Bosua
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.