You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep - 100% right on why this is happening. I think this should be a fairly easy fix to find the first character where casing matters and infer from that one 👍 . @j-svensmark - would you be up for submitting a PR for this?
Sure, please see the PR linked above.
Btw, in case anyone needs a workaround for this, explicitly setting the capitalization policy in the .sqlfluff config silences this linting error
Search before asking
What Happened
When parsing a file with sqlfluff, I unexpectedly got a
Unquoted identifiers must be consistently capitalised.
error from L014. Here is an MWEExpected Behaviour
I expect running sqlfluff on the above code sample shouldn't produce any error.
Observed Behaviour
When running
sqlfluff lint --dialect bigquery MWE.sql
I get an error from L014How to reproduce
See above
Dialect
I tested with
bigquery
,oracle
andtsql
, and the issue occurred in all of them. I assume it applies to all dialects.Version
Running in a conda env on M1 Macbook with
Configuration
No custom config used.
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: