Added
L009can now be enforced whentemplater = dbt.- Parsing of
EXPLAIN,USEstatements. - Parsing of
ALTER TABLE x RENAME TO ysyntax. - Parsing of
ALTER SESSIONin snowflake. - Parsing of numeric literals with exponents.
- Added rule codes to diff_cover output.
Changed
- Fix
templater = dbtL009 bug #861 where:sqlfluff lintwould incorrectly always returnL009 | Files must end with a trailing newline.sqlfluff fixwould remove trailing newlines whenexclude_rules = L009.
- Fix bug with BigQuery comparison operators.
- Fix recursion bug with L045.
- Fix tuple index bug with L016.
- Fix mange coalecse bug with L043.
- Fix Jinja templating error with UnboundLocalError.
- Improve array parsing.
- Simplify bracket parsing.
- Speed up L010 with caching capitalisation policy.
- Output of
sqlfluff dialectsis now sorted. - Handle disabled
dbtmodels.