7

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.

Sander van den Oord
  • 10,986
  • 5
  • 51
  • 96
kober
  • 289
  • 5
  • 12

1 Answers1

4

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.

Nico Bosua
  • 56
  • 2