sqlfluff lint
says Found unparsable section
if dbt source contains dash
#3501
Labels
bug
Something isn't working
Search before asking
What Happened
I have this file:
And running
sqlfluff lint
on it printed a number of lining problems (ok) and a parsing error (not ok):This model has been running fine so far. Changing the dash to an underscore makes the parsing error disappear:
Expected Behaviour
sqlfluff lint
does not give parsing errors for SQL files that look fine.Observed Behaviour
(See above)
How to reproduce
(See above)
Dialect
ansi
Version
sqlfluff, version 1.0.0
(By the way,
sqlfluff-templater-dbt
was not listed as a dependency, just discovered it in this issue template ❓ installing version 1.0.0 didn't make any difference, the parsing is just slower)dbt-core 1.1.1
Configuration
(Empty)
Are you willing to work on and submit a PR to address the issue?
Code of Conduct
The text was updated successfully, but these errors were encountered: