Highlights
- Introduction of a
--quietoption for the CLI for situations where less output is useful. - When using the
--forceoption is used forsqlfluff fixeach file is fixed during the linting process rather than at the end. - Bugfixes to comment and templated section indentation.
- Performance improvements to parsing.
- Bugfix to macros triggering LT01.
- Renaming
layout.end-of-filetolayout.end_of_filein line with other rules. - Dialect improvements to SparkSQL, BigQuery, Hive & Snowflake.
What’s Changed
- Snowflake: Support Temporary View (#4789) @WittierDinosaur
- Inroduce
SAFEprefix segment (#4773) @dmohns - Fix #4660: Better handling of empty files. (#4780) @alanmcruickshank
- Fix #3538: (Fix files as we go) (#4777) @alanmcruickshank
- Fix #2855: (Tech debt: check consistency in TemplatedFile init) (#4776) @alanmcruickshank
- Add a --quiet option for fix (#4764) @alanmcruickshank
- Fix #4603 indent after Jinja 'do' directive (#4778) @fredriv
- Snowflake Execute Task with Schema (#4771) @Thashin
- SQLite: Support CreateTrigger (#4767) @WittierDinosaur
- Fix #2865 (AL05 exception for Redshift Semi-structured) (#4775) @alanmcruickshank
- Fix #4540: Untaken indents evaluation order. (#4768) @alanmcruickshank
- Use the new CollationReferenceSegment everywhere (#4770) @james-johnston-thumbtack
- SQLite: Fix multiple parse issues in Expression_A_Grammar (#4769) @james-johnston-thumbtack
- SQLite: Remove refs to RESPECT and QUALIFY (#4765) @WittierDinosaur
- SQLite: Support STRICT (#4766) @WittierDinosaur
- Support hive set syntax (#4763) @alanmcruickshank
- Fix #4582: Comments after end of line (#4760) @alanmcruickshank
- Allow comment match with preceding line (#4758) @alanmcruickshank
- Remove the majority of greedy matchers (#4761) @WittierDinosaur
- Fix #4745: (max() error in reindent) (#4752) @alanmcruickshank
- Fix issue with macros triggering LT01 (#4757) @alanmcruickshank
- end-of-file > end_of_file (#4753) @alanmcruickshank