-
-
Notifications
You must be signed in to change notification settings - Fork 674
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
Unexpected exception (with no detail) from linting a simple select into a variable #5993
Comments
Adding the suggested
So, this is a blocker for linting. |
Looking over the code in https://github.com/sqlfluff/sqlfluff/blob/main/src/sqlfluff/rules/aliasing/AL09.py, it appears that this line is being incorrectly detected as containing a column alias (e.g., |
Search before asking
What Happened
I'm linting a T-SQL script (for SQL Server) and received the following:
The line in question is as follows:
Expected Behaviour
This line should not have any linting issues given the current configuration and dialect.
Observed Behaviour
An empty exception is raised.
How to reproduce
sqlfluff lint Script.sql
Dialect
tsql
Version
3.0.7
Configuration
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: