diff --git a/Cargo.lock b/Cargo.lock index ee43f0ddf..adc647599 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1235,15 +1235,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.12.0" @@ -2826,11 +2817,11 @@ dependencies = [ [[package]] name = "sqlformat" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b7b278788e7be4d0d29c0f39497a0eef3fba6bbc8e70d8bf7fde46edeaa9e85" +checksum = "ce81b7bd7c4493975347ef60d8c7e8b742d4694f4c49f93e0a12ea263938176c" dependencies = [ - "itertools 0.11.0", + "itertools 0.12.0", "nom", "unicode_categories", ] diff --git a/crates/query-engine/execution/Cargo.toml b/crates/query-engine/execution/Cargo.toml index 7bff0a027..d6bdf05f9 100644 --- a/crates/query-engine/execution/Cargo.toml +++ b/crates/query-engine/execution/Cargo.toml @@ -9,7 +9,7 @@ query-engine-sql = { path = "../sql" } prometheus = "0.13.3" serde_json = "1.0.108" -sqlformat = "0.2.2" +sqlformat = "0.2.3" sqlx = { version = "0.7.3", features = [ "json", "postgres", "runtime-tokio-rustls", "uuid" ] } tracing = "0.1.40" bytes = "1.5.0" diff --git a/crates/query-engine/translation/Cargo.toml b/crates/query-engine/translation/Cargo.toml index 2a80990be..d3b8aeb48 100644 --- a/crates/query-engine/translation/Cargo.toml +++ b/crates/query-engine/translation/Cargo.toml @@ -15,4 +15,4 @@ serde_json = "1.0.108" [dev-dependencies] insta = { version = "1.34.0", features = ["json"] } -sqlformat = "0.2.2" +sqlformat = "0.2.3" diff --git a/crates/query-engine/translation/tests/snapshots/tests__mutations__simple.snap b/crates/query-engine/translation/tests/snapshots/tests__mutations__simple.snap index f52c0616b..9cc2d4ea8 100644 --- a/crates/query-engine/translation/tests/snapshots/tests__mutations__simple.snap +++ b/crates/query-engine/translation/tests/snapshots/tests__mutations__simple.snap @@ -2,7 +2,8 @@ source: crates/query-engine/translation/tests/tests.rs expression: result --- -BEGIN ISOLATION LEVEL READ COMMITTED READ WRITE; +BEGIN +ISOLATION LEVEL READ COMMITTED READ WRITE; WITH "%0_NATIVE_QUERY_delete_playlist_track" AS ( DELETE FROM