No big things in the release, but loads of smaller bugfixes and quality of life fixes. Once again, thanks to so many people who've contributed to this release: @dmateusp, @sethwoodworth, @pwildenhain & @NiallRees.
Added
sqlfluff dialectscommand to get a readout of available dialects [+ associated docs].- More helpful error messages when trying to run in Python2.
- Window functions now parse with
IGNORE/RESPECTNULLS. - Parsing of
current_timestampand similar functions. Thanks @dmateusp. - Snowflake
QUALIFYclause.
Changed
- Respect user config directories. Thanks @sethwoodworth.
- Fix incorrect reporting of L013 with
*. Thanks @dmateusp. - Fix incorrect reporting of L027 with column aliases. Thanks @pwildenhain.
- Simplification of application of fixes and correction of a case where fixes could be depleted. Thanks @NiallRees.
- Fix functions with a similar structure to
SUBSTRING. - Refactor BigQuery
REPLACEandEXCEPTclauses. - Bigquery date parts corrected.
- Snowflake array accessors.
- Psotgres
NOTNULLandISNULL. - Bugfix in snowflake for keywords used in semistructured queries.
- Nested
WITHstatements now parse. - Performance improvements in the
fixcommand. - Numeric literals starting with a decimal now parse.
- Refactor the jinja templater.