Skip to content

Conversation

@MrSwitch
Copy link
Owner

@MrSwitch MrSwitch commented Sep 3, 2025

Quite a significant performance change to SELECT queries with subqueries

MrSwitch and others added 2 commits August 14, 2025 18:51
* perf(cte): subquery optimisation, fixes #413

* feat(CTE): support CTE's WITH to optimise SELECT queries with subqueries, fixes #413

* test(CTE): upgrade unit tests to base around  mysql:8, fixes #413

* fix(CTE): _rowid is rejected because it's not recognised in the schema

* fix(cte): disable repeating the offset

* fix(cte): disable repeating the start (offset)

* fix(cte): accept groupby=id | [id]

* perf(cte): add configurable rules, default 10_000 limit applying CTE, fixes #413

* docs(applyCTELimitFiltering): overwrite default handling of CTE, #413
## [0.98.2](v0.98.1...v0.98.2) (2025-08-14)

### Performance Improvements

* **cte:** subquery optimisation, fixes [#413](#413) ([#416](#416)) ([fd7822f](fd7822f))
@MrSwitch MrSwitch merged commit 39eac1b into main Sep 3, 2025
5 checks passed
@github-actions
Copy link

🎉 This PR is included in version 0.98.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants