SQLFluff always returns templating/parsing errors

9.6k views Asked by At

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.

1

There are 1 answers

0
Nico Bosua On BEST ANSWER

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.