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
@@ -193,7+193,7 @@ classRule_L031(BaseRule):forexp_refincolumn_reference_segments:used_alias_ref=exp_ref.get_child("identifier")# exp_ref.get_child('dot') ensures that the column reference includes a table reference-ifused_alias_ref.raw==alias_nameandexp_ref.get_child("dot"):
+ifused_alias_refandused_alias_ref.raw==alias_nameandexp_ref.get_child("dot"):
ids_refs.append(used_alias_ref)
# Fixes for deleting ` as sth` and for editing references to aliased tables
This is as minimal as I can make it:
Expected Behaviour
File lints without a Python error.
Observed Behaviour
Receiving the following response:
Steps to Reproduce
Lint the above TSQL code.
Dialect
TSQL
Version
SQLFluff: Most recent main (d96f0b0)
Python 3.9.6
Configuration
All defaults
The text was updated successfully, but these errors were encountered: