From 8c661acdf042e10b4f3b80b330b87426cdc7d1dc Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Mon, 2 Nov 2026 05:42:40 +0000 Subject: [PATCH] perf(rules): pin SQLClean 0.4.3 for cheaper unused-CTE facts SQLClean 0.4.3 finds unused CTEs without deep-cloning each WITH query. Lint output is unchanged. --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 21cec5984..cef78b355 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1500,8 +1500,8 @@ dependencies = [ [[package]] name = "sqlclean" -version = "0.4.2" -source = "git+https://github.com/sqlstack-io/sqlclean.git?rev=571e40a746b3d8d20d6118620f05428eca45243c#571e40a746b3d8d20d6118620f05428eca45243c" +version = "0.4.3" +source = "git+https://github.com/sqlstack-io/sqlclean.git?rev=cf79656d247277a30bc81ef39b6dee420e721221#cf79656d247277a30bc81ef39b6dee420e721221" dependencies = [ "polyglot-sql", "polyglot-sql-function-catalogs", diff --git a/Cargo.toml b/Cargo.toml index be08599d6..16b9b793e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -140,7 +140,7 @@ sqlbuild-scopes = { path = "crates/sqlbuild-scopes" } sqlbuild-sqltext = { path = "crates/sqlbuild-sqltext" } sqlbuild-state = { path = "crates/sqlbuild-state" } # SQL lint Rules, quality Rules, the formatter and the canonical token stream. -sqlclean = { git = "https://github.com/sqlstack-io/sqlclean.git", rev = "571e40a746b3d8d20d6118620f05428eca45243c" } +sqlclean = { git = "https://github.com/sqlstack-io/sqlclean.git", rev = "cf79656d247277a30bc81ef39b6dee420e721221" } stacker = "0.1" syn = { version = "2", features = ["full", "visit", "extra-traits"] } tempfile = "3"