Lots of fixes to our rules (particularly when running `sqlfluff fix`, and particularly for Jinja and DBT templates). We also have good improvements to Exasol, Snowflake, and T-SQL dialects amongst others. Plus we added Hive and SQLite as supported dialects!
Whatโs Changed
* Snowflake better WAREHOUSE and CREATE (EXTERNAL) TABLES support [1508](https://github.com/sqlfluff/sqlfluff/pull/1508) [tunetheweb](https://github.com/tunetheweb)
* Exasol: Fix typo in `REORGANIZE` statement [1509](https://github.com/sqlfluff/sqlfluff/pull/1509) [sti0](https://github.com/sti0)
* Fix bug that can prevent linting ephemeral dbt models [1496](https://github.com/sqlfluff/sqlfluff/pull/1496) [barrywhart](https://github.com/barrywhart)
* Disable rules L026 and L028 for BigQuery by default, with option to re-enable [1504](https://github.com/sqlfluff/sqlfluff/pull/1504) [tunetheweb](https://github.com/tunetheweb)
* BigQuery keywords [1506](https://github.com/sqlfluff/sqlfluff/pull/1506) [tunetheweb](https://github.com/tunetheweb)
* Inline --noqa not always honoured by "sqlfluff fix" [1502](https://github.com/sqlfluff/sqlfluff/pull/1502) [barrywhart](https://github.com/barrywhart)
* Snowflake - fix parsing of UNPIVOT [1505](https://github.com/sqlfluff/sqlfluff/pull/1505) [michael-the1](https://github.com/michael-the1)
* Better parsing of DATEADD function [1486](https://github.com/sqlfluff/sqlfluff/pull/1486) [jpers36](https://github.com/jpers36)
* Fix handling of ISNULL and NOTNULL keywords [1483](https://github.com/sqlfluff/sqlfluff/pull/1483) [leamingrad](https://github.com/leamingrad)
* Improved test cases names [1501](https://github.com/sqlfluff/sqlfluff/pull/1501) [ttomasz](https://github.com/ttomasz)
* Exasol: Fix CREATE TABLE in-/outline constraint / Adjusted DISTRIBUTE/PARTITION clause [1491](https://github.com/sqlfluff/sqlfluff/pull/1491) [sti0](https://github.com/sti0)
* Add support for SnowSQL variables [1497](https://github.com/sqlfluff/sqlfluff/pull/1497) [samlader](https://github.com/samlader)
* Ignore erroneous newline segments in L016 (e.g. Jinja for loops) [1494](https://github.com/sqlfluff/sqlfluff/pull/1494) [tunetheweb](https://github.com/tunetheweb)
* Indentation error on Jinja templated test case [1444](https://github.com/sqlfluff/sqlfluff/pull/1444) [barrywhart](https://github.com/barrywhart)
* Improve EXASOL dialect [1484](https://github.com/sqlfluff/sqlfluff/pull/1484) [sti0](https://github.com/sti0)
* T-SQL dialect - +support for CONVERT() special function [1489](https://github.com/sqlfluff/sqlfluff/pull/1489) [jpers36](https://github.com/jpers36)
* Allow Postgres column references to use `AT TIME ZONE` [1485](https://github.com/sqlfluff/sqlfluff/pull/1485) [leamingrad](https://github.com/leamingrad)
* T-SQL dialect - provide alternate ASA PR incorporating ASA into T-SQL [1478](https://github.com/sqlfluff/sqlfluff/pull/1478) [jpers36](https://github.com/jpers36)
* Modest parser performance improvement [1475](https://github.com/sqlfluff/sqlfluff/pull/1475) [NathanHowell](https://github.com/NathanHowell)
* Disable rule L033 for dialects that do not support it (e.g. Exasol, Postgres) [1482](https://github.com/sqlfluff/sqlfluff/pull/1482) [tunetheweb](https://github.com/tunetheweb)
* Adding a new BaseFileSegment class for FileSegments to inherit from [1473](https://github.com/sqlfluff/sqlfluff/pull/1473) [sti0](https://github.com/sti0)
* EXASOL_FS: Fix adapter script type [1480](https://github.com/sqlfluff/sqlfluff/pull/1480) [sti0](https://github.com/sti0)
* Dialect/tsql update - added pivot / unpivot, view support, sequence support on table creation [1469](https://github.com/sqlfluff/sqlfluff/pull/1469) [ericmuijs](https://github.com/ericmuijs)
* Correct typo in SQLFluff name [1470](https://github.com/sqlfluff/sqlfluff/pull/1470) [tunetheweb](https://github.com/tunetheweb)
* Stop L008 from adding spaces for simple SELECTs [1461](https://github.com/sqlfluff/sqlfluff/pull/1461) [CyberShadow](https://github.com/CyberShadow)
* Add SQLite dialect [1453](https://github.com/sqlfluff/sqlfluff/pull/1453) [tunetheweb](https://github.com/tunetheweb)
* Fix Windows Clause for Exasol [1463](https://github.com/sqlfluff/sqlfluff/pull/1463) [tunetheweb](https://github.com/tunetheweb)
* Add CHECK constraint syntax to ANSI SQL [1451](https://github.com/sqlfluff/sqlfluff/pull/1451) [tunetheweb](https://github.com/tunetheweb)
* Move Exasol test statements fixtures from Python to SQL files [1449](https://github.com/sqlfluff/sqlfluff/pull/1449) [tunetheweb](https://github.com/tunetheweb)
* fix spelling of "preceding" [1455](https://github.com/sqlfluff/sqlfluff/pull/1455) [jpers36](https://github.com/jpers36)
* Add NORMALIZE to Teradata dialect [1448](https://github.com/sqlfluff/sqlfluff/pull/1448) [tunetheweb](https://github.com/tunetheweb)
* Add and $ symbols to Exasol to avoid lexing errors [1447](https://github.com/sqlfluff/sqlfluff/pull/1447) [tunetheweb](https://github.com/tunetheweb)
* Stop fix adding then removing whitespace [1443](https://github.com/sqlfluff/sqlfluff/pull/1443) [barrywhart](https://github.com/barrywhart)
* Stop exception in L016 for long Jinja comments [1440](https://github.com/sqlfluff/sqlfluff/pull/1440) [tunetheweb](https://github.com/tunetheweb)
* Fix some issues where the SQL file is corrupted by lint "fixes" in or near Jinja loops [1431](https://github.com/sqlfluff/sqlfluff/pull/1431) [barrywhart](https://github.com/barrywhart)
* T-SQL: Remove Limit and NamedWindow segments as not supported in T-SQL [1420](https://github.com/sqlfluff/sqlfluff/pull/1420) [jpers36](https://github.com/jpers36)
* Fix runtime error (IndexError ) when linting file with jinja "if" [1430](https://github.com/sqlfluff/sqlfluff/pull/1430) [barrywhart](https://github.com/barrywhart)
* Add Hive dialect (985) [satish-ravi](https://github.com/satish-ravi)
* Further fix for L036 [1428](https://github.com/sqlfluff/sqlfluff/pull/1428) [tunetheweb](https://github.com/tunetheweb)
* Add default parameter to dbt "var" macro stub [1426](https://github.com/sqlfluff/sqlfluff/pull/1426) [CyberShadow](https://github.com/CyberShadow)