New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unparsable section with Snowflake dialect and a table named "account" #1927
Comments
I am hitting the same issue. It only seems to be impacting some sources, but works for most of them. |
Saw that the new version (0.9.0) was released and I tested with it. I tried both jinja and dbt templaters and I hit the same issue in both. |
OK - narrowed it down a bit. In my particular case, the things break when I use a source called |
I can pinpoint this to commit related to Snowflake dialect improvements (#1737). If I install a version that doesn't include this code (e.g. 0.7.1), queries parse without a problem. After it, if I use |
We still have this issue after upgrading dbt to
|
The I've just checked and this parses:
Please raise issues with the full SQL (without DBT templates if at all possible) and not just the error message. |
Expected Behaviour
Linting this should not raise any errors
Observed Behaviour
The following error gets raised
Steps to Reproduce
Run
sqlfluff lint filename.sql
having the code above in the fileDialect
Snowflake + dbt
Version
Include the output of
sqlfluff --version
along with your Python versionSQLFluff -
sqlfluff, version 0.8.1
Python3 -
Python 3.7.10-slim
Configuration
The text was updated successfully, but these errors were encountered: