github sqlfluff/sqlfluff 0.5.3
Bugfix Release

latest releases: 4.2.2, 4.2.1, 4.2.0...
5 years ago

Added

  • L009 can now be enforced when templater = dbt.
  • Parsing of EXPLAIN, USE statements.
  • Parsing of ALTER TABLE x RENAME TO y syntax.
  • Parsing of ALTER SESSION in snowflake.
  • Parsing of numeric literals with exponents.
  • Added rule codes to diff_cover output.

Changed

  • Fix templater = dbt L009 bug #861 where:
    • sqlfluff lint would incorrectly always return L009 | Files must end with a trailing newline.
    • sqlfluff fix would remove trailing newlines when exclude_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 dialects is now sorted.
  • Handle disabled dbt models.

Don't miss a new sqlfluff release

NewReleases is sending notifications on new releases.