Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQLFluff always returns templating/parsing errors

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.

like image 842
kober Avatar asked Feb 13 '26 13:02

kober


1 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.

like image 68
Nico Bosua Avatar answered Feb 15 '26 01:02

Nico Bosua



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!