diff --git a/Cargo.lock b/Cargo.lock index 194443550dc..6a8d5b76315 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1413,7 +1413,7 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rand", - "sqlparser", + "sqlparser 0.37.0", "tempfile", "tokio", "tokio-util", @@ -1439,7 +1439,7 @@ dependencies = [ "num_cpus", "object_store", "parquet", - "sqlparser", + "sqlparser 0.37.0", "tokio", "tokio-util", "xz2", @@ -1474,7 +1474,7 @@ dependencies = [ "ahash", "arrow", "datafusion-common", - "sqlparser", + "sqlparser 0.37.0", "strum 0.25.0", "strum_macros 0.25.2", ] @@ -1586,7 +1586,7 @@ dependencies = [ "datafusion-common", "datafusion-expr", "log", - "sqlparser", + "sqlparser 0.37.0", ] [[package]] @@ -2727,7 +2727,7 @@ version = "0.1.0" dependencies = [ "generated_types", "snafu", - "sqlparser", + "sqlparser 0.41.0", "workspace-hack", ] @@ -4439,7 +4439,7 @@ dependencies = [ "query_functions", "schema", "snafu", - "sqlparser", + "sqlparser 0.41.0", "test_helpers", "workspace-hack", ] @@ -5586,7 +5586,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37ae05a8250b968a3f7db93155a84d68b2e6cea1583949af5ca5b5170c76c075" dependencies = [ "log", - "sqlparser_derive", + "sqlparser_derive 0.1.1", +] + +[[package]] +name = "sqlparser" +version = "0.41.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cc2c25a6c66789625ef164b4c7d2e548d627902280c13710d33da8222169964" +dependencies = [ + "log", + "sqlparser_derive 0.2.1", ] [[package]] @@ -5600,6 +5610,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "sqlparser_derive" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e9c2e1dde0efa87003e7923d94a90f46e3274ad1649f51de96812be561f041f" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "sqlx" version = "0.7.1" @@ -7185,7 +7206,7 @@ dependencies = [ "serde_json", "sha2", "similar", - "sqlparser", + "sqlparser 0.41.0", "sqlx", "sqlx-core", "sqlx-macros", diff --git a/influxrpc_parser/Cargo.toml b/influxrpc_parser/Cargo.toml index fe26186aed5..15f7ea52f71 100644 --- a/influxrpc_parser/Cargo.toml +++ b/influxrpc_parser/Cargo.toml @@ -6,7 +6,7 @@ edition.workspace = true license.workspace = true [dependencies] -sqlparser = "0.37.0" +sqlparser = "0.41.0" snafu = "0.7.5" generated_types = { path = "../generated_types" } diff --git a/predicate/Cargo.toml b/predicate/Cargo.toml index ffd92b17078..68a08cce817 100644 --- a/predicate/Cargo.toml +++ b/predicate/Cargo.toml @@ -16,7 +16,7 @@ observability_deps = { path = "../observability_deps" } query_functions = { path = "../query_functions"} schema = { path = "../schema" } snafu = "0.7" -sqlparser = "0.37.0" +sqlparser = "0.41.0" workspace-hack = { version = "0.1", path = "../workspace-hack" } [dev-dependencies] diff --git a/workspace-hack/Cargo.toml b/workspace-hack/Cargo.toml index 123b46fdbf5..267d852fe3d 100644 --- a/workspace-hack/Cargo.toml +++ b/workspace-hack/Cargo.toml @@ -74,7 +74,7 @@ serde = { version = "1", features = ["derive", "rc"] } serde_json = { version = "1", features = ["raw_value"] } sha2 = { version = "0.10" } similar = { version = "2", features = ["inline"] } -sqlparser = { version = "0.37", features = ["visitor"] } +sqlparser = { version = "0.41", features = ["visitor"] } sqlx = { version = "0.7", features = ["postgres", "runtime-tokio-rustls", "sqlite", "uuid"] } sqlx-core = { version = "0.7", features = ["_rt-tokio", "_tls-rustls", "any", "json", "migrate", "offline", "uuid"] } sqlx-postgres = { version = "0.7", default-features = false, features = ["any", "json", "migrate", "offline", "uuid"] }