From 464a4f514c9718ed4a6c011cec587396507222d2 Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Sat, 7 Nov 2026 12:03:00 +0000 Subject: [PATCH] fix(deps): pin polyglot with column alias types in output order Polyglot 1cb2a731 keeps a CTE's or derived relation's columns in output order, so a column alias list renames each column to the type it has. Before, the alias types followed hash order and changed between runs. --- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1afe2d1..937387f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -402,7 +402,7 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "polyglot-sql" version = "0.13.9" -source = "git+https://github.com/sqlstack-io/polyglot.git?rev=8767d688c5b504ad609645e27ab77a260d91c5a1#8767d688c5b504ad609645e27ab77a260d91c5a1" +source = "git+https://github.com/sqlstack-io/polyglot.git?rev=1cb2a73115963c12598da17cbc3057ccd8194e64#1cb2a73115963c12598da17cbc3057ccd8194e64" dependencies = [ "polyglot-sql-ast-derive", "polyglot-sql-function-catalogs", @@ -417,7 +417,7 @@ dependencies = [ [[package]] name = "polyglot-sql-ast-derive" version = "0.13.9" -source = "git+https://github.com/sqlstack-io/polyglot.git?rev=8767d688c5b504ad609645e27ab77a260d91c5a1#8767d688c5b504ad609645e27ab77a260d91c5a1" +source = "git+https://github.com/sqlstack-io/polyglot.git?rev=1cb2a73115963c12598da17cbc3057ccd8194e64#1cb2a73115963c12598da17cbc3057ccd8194e64" dependencies = [ "proc-macro2", "quote", @@ -427,7 +427,7 @@ dependencies = [ [[package]] name = "polyglot-sql-function-catalogs" version = "0.13.9" -source = "git+https://github.com/sqlstack-io/polyglot.git?rev=8767d688c5b504ad609645e27ab77a260d91c5a1#8767d688c5b504ad609645e27ab77a260d91c5a1" +source = "git+https://github.com/sqlstack-io/polyglot.git?rev=1cb2a73115963c12598da17cbc3057ccd8194e64#1cb2a73115963c12598da17cbc3057ccd8194e64" [[package]] name = "proc-macro2" diff --git a/Cargo.toml b/Cargo.toml index 2604256..36fdbfb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,14 +22,14 @@ ignore = "0.4" tempfile = "3" toml = "0.9" # The same Polyglot source and revision as SQLBuild, so a build that contains both compiles it once. -polyglot-sql = { git = "https://github.com/sqlstack-io/polyglot.git", rev = "8767d688c5b504ad609645e27ab77a260d91c5a1", default-features = false, features = [ +polyglot-sql = { git = "https://github.com/sqlstack-io/polyglot.git", rev = "1cb2a73115963c12598da17cbc3057ccd8194e64", default-features = false, features = [ "ast-tools", "builder", "all-dialects", "semantic", "stacker", ] } -polyglot-sql-function-catalogs = { git = "https://github.com/sqlstack-io/polyglot.git", rev = "8767d688c5b504ad609645e27ab77a260d91c5a1", default-features = false, features = [ +polyglot-sql-function-catalogs = { git = "https://github.com/sqlstack-io/polyglot.git", rev = "1cb2a73115963c12598da17cbc3057ccd8194e64", default-features = false, features = [ "dialect-duckdb", ] } rayon = "1"