Skip to content

Conversation

gvozdvmozgu
Copy link
Collaborator

No description provided.

Copy link

Benchmark for 5bdd835

Click to view benchmark
Test Base PR %
DepthMap::from_parent 56.9±1.72µs 56.5±1.31µs -0.70%
fix_complex_query 11.9±0.25ms 11.3±0.26ms -5.04%
fix_superlong 138.6±11.81ms 125.1±7.14ms -9.74%
parse_complex_query 3.9±0.09µs 3.9±0.10µs 0.00%
parse_expression_recursion 6.8±0.21µs 6.7±0.07µs -1.47%
parse_simple_query 1027.6±28.45ns 989.7±38.33ns -3.69%

@benfdking benfdking merged commit edadd85 into main Jun 26, 2025
41 checks passed
@benfdking benfdking deleted the remove-string-or-template-enum branch June 26, 2025 10:05
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jul 6, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [quarylabs/sqruff](https://github.com/quarylabs/sqruff) | minor | `v0.27.0` -> `v0.28.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>quarylabs/sqruff (quarylabs/sqruff)</summary>

### [`v0.28.0`](https://github.com/quarylabs/sqruff/releases/tag/v0.28.0)

[Compare Source](quarylabs/sqruff@v0.27.0...v0.28.0)

#### What's Changed

- refactor: remove `SqlError` trait by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1693
- refactor(parser): make `Ref::keyword` allocation-free by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1692
- fix: Implement LookaheadExclude to resolve T-SQL WITH keyword parsing issue by [@&#8203;Fank](https://github.com/Fank) in quarylabs/sqruff#1675
- refactor(logging): replace tracing with log + fern backend by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1671
- refactor(linter): remove unused last\_fixes variable and redundant sanity checks in linting process by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1696
- fix: Handle T-SQL APPLY clauses in JoinClauseSegment to prevent panic by [@&#8203;Fank](https://github.com/Fank) in quarylabs/sqruff#1695
- refactor(lexer): remove `StringOrTemplate` enum by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1703
- refactor(parser): remove helpers module and integrate validation directly in parser by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1702
- refactor(errors): remove `ValueError` by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1701
- fix: Support CTEs with Merge by [@&#8203;NormallyGaussian](https://github.com/NormallyGaussian) in quarylabs/sqruff#1700
- fix: Prevent ST04 from removing simple ELSE clauses in CASE statements by [@&#8203;Fank](https://github.com/Fank) in quarylabs/sqruff#1704
- fix: Comprehensive T-SQL parser and rule fixes for operators, CREATE statements, and multi-line constructs by [@&#8203;Fank](https://github.com/Fank) in quarylabs/sqruff#1698
- docs: updating contributing by [@&#8203;NormallyGaussian](https://github.com/NormallyGaussian) in quarylabs/sqruff#1699
- chore: update rust and tackle lint errors by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1705
- feat: add Snowflake ASOF join fixtures by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1643
- feat: back quotes in clickhouse by [@&#8203;DamianMaslanka5](https://github.com/DamianMaslanka5) in quarylabs/sqruff#1715
- Revert "fix: Comprehensive T-SQL parser and rule fixes for operators, CREATE statements, and multi-line constructs" by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1718
- fix: tsql not double wrapping statements by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1720
- refactor: clean up and optimize lint pipeline logic by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1694
- fix: cv07 working in tsql by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1721
- chore: enable working tsql rules by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1722
- chore: add test for keywords: upper and functions: lower by [@&#8203;DamianMaslanka5](https://github.com/DamianMaslanka5) in quarylabs/sqruff#1717
- chore: further tsql tests activate by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1723
- chore: bump indexmap from 2.9.0 to 2.10.0 by [@&#8203;dependabot](https://github.com/dependabot) in quarylabs/sqruff#1724
- chore: update node dependencies by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1733
- chore: bump minijinja from 2.10.2 to 2.11.0 by [@&#8203;dependabot](https://github.com/dependabot) in quarylabs/sqruff#1725
- chore: bump ncipollo/release-action from 1.16.0 to 1.18.0 by [@&#8203;dependabot](https://github.com/dependabot) in quarylabs/sqruff#1727
- chore: bump Swatinem/rust-cache from 2.7.8 to 2.8.0 by [@&#8203;dependabot](https://github.com/dependabot) in quarylabs/sqruff#1731
- docs: add CLAUDE.md for Claude Code guidance by [@&#8203;Fank](https://github.com/Fank) in quarylabs/sqruff#1736
- refactor: simplify `Dialect::add` method by removing unnecessary `Clone` bound by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1739
- fix: SQL Server syntax for identifiers ending with # in T-SQL (RF05) by [@&#8203;Fank](https://github.com/Fank) in quarylabs/sqruff#1735
- chore(cli): disable publishing for bench binary by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1742
- refactor: use lazy instantiation for NodeMatcher by [@&#8203;gvozdvmozgu](https://github.com/gvozdvmozgu) in quarylabs/sqruff#1740
- chore: make binaries more portable by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1744
- chore: publish new version by [@&#8203;benfdking](https://github.com/benfdking) in quarylabs/sqruff#1745

#### New Contributors

- [@&#8203;NormallyGaussian](https://github.com/NormallyGaussian) made their first contribution in quarylabs/sqruff#1700
- [@&#8203;DamianMaslanka5](https://github.com/DamianMaslanka5) made their first contribution in quarylabs/sqruff#1715

**Full Changelog**: quarylabs/sqruff@v0.27.0...v0.28.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants