Skip to content

Apache DataFusion SQL Query Engine

Update sqlparser-rs to version `0.35.0` (#6753)

Andrew Lamb631e64364138
diff --git a/Cargo.toml b/Cargo.toml
index 7f89e78ad0..892648e5fa 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,6 +51,7 @@ arrow-buffer = { version = "42.0.0", default-features = false }
arrow-schema = { version = "42.0.0", default-features = false }
arrow-array = { version = "42.0.0", default-features = false, features = ["chrono-tz"] }
parquet = { version = "42.0.0", features = ["arrow", "async", "object_store"] }
+sqlparser = { version = "0.35", features = ["visitor"] }
[profile.release]
codegen-units = 1
diff --git a/datafusion-cli/Cargo.lock b/datafusion-cli/Cargo.lock
index d4f9ee36e1..544aff4459 100644
--- a/datafusion-cli/Cargo.lock
+++ b/datafusion-cli/Cargo.lock
@@ -2788,9 +2788,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
name = "sqlparser"
-version = "0.34.0"
+version = "0.35.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37d3706eefb17039056234df6b566b0014f303f867f2656108334a55b8096f59"
+checksum = "ca597d77c98894be1f965f2e4e2d2a61575d4998088e655476c73715c54b2b43"
dependencies = [
"log",
"sqlparser_derive",
diff --git a/datafusion/common/Cargo.toml b/datafusion/common/Cargo.toml
index 6943fc7263..d7d6146694 100644
--- a/datafusion/common/Cargo.toml
+++ b/datafusion/common/Cargo.toml
@@ -46,7 +46,7 @@ num_cpus = "1.13.0"
object_store = { version = "0.6.1", default-features = false, optional = true }
parquet = { workspace = true, optional = true }
pyo3 = { version = "0.19.0", optional = true }
-sqlparser = "0.34"
+sqlparser = { workspace = true }
[dev-dependencies]
rand = "0.8.4"
diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
index 483e98ea99..ee54566914 100644
--- a/datafusion/core/Cargo.toml
+++ b/datafusion/core/Cargo.toml
@@ -85,7 +85,7 @@ percent-encoding = "2.2.0"
pin-project-lite = "^0.2.7"
rand = "0.8"
smallvec = { version = "1.6", features = ["union"] }
-sqlparser = { version = "0.34", features = ["visitor"] }
+sqlparser = { workspace = true }
tempfile = "3"
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync", "fs", "parking_lot"] }
tokio-util = { version = "0.7.4", features = ["io"] }
diff --git a/datafusion/expr/Cargo.toml b/datafusion/expr/Cargo.toml
index 8274b17167..82d867f5f5 100644
--- a/datafusion/expr/Cargo.toml
+++ b/datafusion/expr/Cargo.toml
@@ -39,7 +39,7 @@ ahash = { version = "0.8", default-features = false, features = ["runtime-rng"]
arrow = { workspace = true }
datafusion-common = { path = "../common", version = "26.0.0" }
lazy_static = { version = "^1.4.0" }
-sqlparser = "0.34"
+sqlparser = { workspace = true }
strum = { version = "0.25.0", features = ["derive"] }
strum_macros = "0.25.0"
diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.toml
index af49b0cba3..304383548c 100644
--- a/datafusion/sql/Cargo.toml
+++ b/datafusion/sql/Cargo.toml
@@ -42,7 +42,7 @@ arrow-schema = { workspace = true }
datafusion-common = { path = "../common", version = "26.0.0" }
datafusion-expr = { path = "../expr", version = "26.0.0" }
log = "^0.4"
-sqlparser = "0.34"
+sqlparser = { workspace = true }
[dev-dependencies]
ctor = "0.2.0"