Highlights
This is an alpha release of SQLFluff 4.0 to continue verification of the rust portions of the codebase. In particular to verify version locking of pypi packages works, and testing users can verify that Rust is working easily. Rust support is still in beta, but from this release, users can install sqlfluff[rs] to get some of the parser running in rust. Current implementation is not expected to yield significant gains but we do expect that once mature that it will.
We do not recommend that users install this release except for testing and evaluation.
Big thanks to @keraion, who's been leading the way on this effort.
Additionally in this release:
- Several rust bugfixes.
- Dialect improvements for Snowflake, DuckDB, TSQL, Impala & Postgres.
These will be added to the changelog properly in the full 4.0.0 release.
What’s Changed
- Docs notes on releasing 4.0 (#7264) @alanmcruickshank
- Add instructions for agents (#7261) @peterbud
- Add support for new duckdb lambda syntax (#7256) @stevenlw-porpoise
- refactor: Move Rust parts into their own crates (#7229) @keraion
- fix(duckdb): add support for trailing commas in select * rename/exclude/replace commands (#7254) @stevenlw-porpoise
- Resolve rust templating assertions (#7252) @alanmcruickshank
- TSQL: Remove redundant optional DelimiterGrammar from individual statements (#7231) @peterbud
- Impala: Add INVALIDATE METADATA and REFRESH statements (#7251) @mrebaker
- T-SQL: Enhance Alter Database with Set Recovery Options (#7241) @CactusCollider
- TSQL: Add support for variable assignments in SELECT statements (#7222) @peterbud
- Added alignment_coordinate_space to ALLOWABLE_LAYOUT_CONFIG_KEYS (#7237) @tojnk
- Support aliasing in Snowflake PIVOT clause (#7245) @robert-norberg
- Fix util script to update Cargo.lock (#7249) @keraion
- Postgres: Implement UTF-8 identifier support (#7242) @adnandaut
- TSQL: CreateServerRoleSegment (#7201) @piers-williams
- TSQL: Rework DatatypeSegment (#7200) @peterbud
- Update Datacoves image source in README (#7227) @keraion
- Slightly more obvious logging when rust extensions are used (#7226) @alanmcruickshank
New Contributors
- @piers-williams made their first contribution in #7201
- @adnandaut made their first contribution in #7242
- @robert-norberg made their first contribution in #7245
- @tojnk made their first contribution in #7237
- @CactusCollider made their first contribution in #7241
- @stevenlw-porpoise made their first contribution in #7254