-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
APIIssues related to API and higher level logicIssues related to API and higher level logicTODOOpen Task but not a bugOpen Task but not a bug
Description
We produced a special test for swt_sqlfluff__sqlfluff-1625:
diff --git a/test/fixtures/rules/std_rule_cases/L031.yml b/test/fixtures/rules/std_rule_cases/L031.yml
index 40b41639a..59dd43430 100644
--- a/test/fixtures/rules/std_rule_cases/L031.yml
+++ b/test/fixtures/rules/std_rule_cases/L031.yml
@@ -168,3 +168,11 @@ issue_1589:
rnd>=t.v
order by rnd
limit 1)
+test_pass_simple_alias:
+ # L031 should not trigger for simple table alias without joins
+ pass_str: |
+ SELECT a.hello
+ FROM mytable AS a
+ configs:
+ core:
+ dialect: tsqlThis will currently not work with our test-pipeline. Not all sqfluffs fail, but in theory this is a valid test so I wanted to make a marker.
Metadata
Metadata
Assignees
Labels
APIIssues related to API and higher level logicIssues related to API and higher level logicTODOOpen Task but not a bugOpen Task but not a bug