You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2023/01/03 20:08:29 UTC
[arrow-datafusion] branch master updated: Update sqlparser requirement from 0.29 to 0.30 (#4799)
This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/master by this push:
new 6c0e5d9a4 Update sqlparser requirement from 0.29 to 0.30 (#4799)
6c0e5d9a4 is described below
commit 6c0e5d9a47e0a13f3c84481ee14df31e833e6ca0
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Tue Jan 3 15:08:23 2023 -0500
Update sqlparser requirement from 0.29 to 0.30 (#4799)
* Update sqlparser requirement from 0.29 to 0.30
Updates the requirements on [sqlparser](https://github.com/sqlparser-rs/sqlparser-rs) to permit the latest version.
- [Release notes](https://github.com/sqlparser-rs/sqlparser-rs/releases)
- [Changelog](https://github.com/sqlparser-rs/sqlparser-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sqlparser-rs/sqlparser-rs/compare/v0.29.0...v0.30.0)
---
updated-dependencies:
- dependency-name: sqlparser
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <su...@github.com>
* Update for new API
* Update cargo.lock in datafusion-cli
Signed-off-by: dependabot[bot] <su...@github.com>
Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
Co-authored-by: Andrew Lamb <an...@nerdnetworks.org>
---
datafusion-cli/Cargo.lock | 16 ++++++++--------
datafusion/common/Cargo.toml | 2 +-
datafusion/core/Cargo.toml | 2 +-
datafusion/expr/Cargo.toml | 2 +-
datafusion/sql/Cargo.toml | 2 +-
datafusion/sql/src/planner.rs | 5 +++--
6 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/datafusion-cli/Cargo.lock b/datafusion-cli/Cargo.lock
index decdaf257..b78d5af9c 100644
--- a/datafusion-cli/Cargo.lock
+++ b/datafusion-cli/Cargo.lock
@@ -495,9 +495,9 @@ dependencies = [
[[package]]
name = "comfy-table"
-version = "6.1.3"
+version = "6.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e621e7e86c46fd8a14c32c6ae3cb95656621b4743a27d0cffedb831d46e7ad21"
+checksum = "6e7b787b0dc42e8111badfdbe4c3059158ccb2db8780352fa1b01e8ccf45cc4d"
dependencies = [
"strum",
"strum_macros",
@@ -1114,9 +1114,9 @@ dependencies = [
[[package]]
name = "half"
-version = "2.1.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad6a9459c9c30b177b925162351f97e7d967c7ea8bab3b8352805327daf45554"
+checksum = "6c467d36af040b7b2681f5fddd27427f6da8d3d072f575a265e181d2f8e8d157"
dependencies = [
"crunchy",
"num-traits",
@@ -1718,9 +1718,9 @@ dependencies = [
[[package]]
name = "once_cell"
-version = "1.16.0"
+version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860"
+checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
[[package]]
name = "ordered-float"
@@ -2256,9 +2256,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
name = "sqlparser"
-version = "0.29.0"
+version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9f484338c3e7772b9208d45f6e49aed0ea8439cdbe67c10ebf5505828143e113"
+checksum = "db67dc6ef36edb658196c3fef0464a80b53dbbc194a904e81f9bd4190f9ecc5b"
dependencies = [
"log",
]
diff --git a/datafusion/common/Cargo.toml b/datafusion/common/Cargo.toml
index dbcfcf094..9cf0126b5 100644
--- a/datafusion/common/Cargo.toml
+++ b/datafusion/common/Cargo.toml
@@ -46,4 +46,4 @@ cranelift-module = { version = "0.89.0", optional = true }
object_store = { version = "0.5.0", default-features = false, optional = true }
parquet = { version = "29.0.0", default-features = false, optional = true }
pyo3 = { version = "0.17.1", optional = true }
-sqlparser = "0.29"
+sqlparser = "0.30"
diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
index 491db7bb6..31b85cb18 100644
--- a/datafusion/core/Cargo.toml
+++ b/datafusion/core/Cargo.toml
@@ -90,7 +90,7 @@ pyo3 = { version = "0.17.1", optional = true }
rand = "0.8"
rayon = { version = "1.5", optional = true }
smallvec = { version = "1.6", features = ["union"] }
-sqlparser = "0.29"
+sqlparser = "0.30"
tempfile = "3"
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync", "fs", "parking_lot"] }
tokio-stream = "0.1"
diff --git a/datafusion/expr/Cargo.toml b/datafusion/expr/Cargo.toml
index 02809c726..39a950563 100644
--- a/datafusion/expr/Cargo.toml
+++ b/datafusion/expr/Cargo.toml
@@ -39,4 +39,4 @@ ahash = { version = "0.8", default-features = false, features = ["runtime-rng"]
arrow = { version = "29.0.0", default-features = false }
datafusion-common = { path = "../common", version = "15.0.0" }
log = "^0.4"
-sqlparser = "0.29"
+sqlparser = "0.30"
diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.toml
index fb1679888..157189e06 100644
--- a/datafusion/sql/Cargo.toml
+++ b/datafusion/sql/Cargo.toml
@@ -41,4 +41,4 @@ arrow-schema = "29.0.0"
datafusion-common = { path = "../common", version = "15.0.0" }
datafusion-expr = { path = "../expr", version = "15.0.0" }
log = "^0.4"
-sqlparser = "0.29"
+sqlparser = "0.30"
diff --git a/datafusion/sql/src/planner.rs b/datafusion/sql/src/planner.rs
index 39ce2106b..fe08a0bfc 100644
--- a/datafusion/sql/src/planner.rs
+++ b/datafusion/sql/src/planner.rs
@@ -1476,11 +1476,12 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> {
let WildcardAdditionalOptions {
opt_exclude,
opt_except,
+ opt_rename,
} = options;
- if opt_exclude.is_some() || opt_except.is_some() {
+ if opt_exclude.is_some() || opt_except.is_some() || opt_rename.is_some() {
Err(DataFusionError::NotImplemented(
- "wildcard * with EXCLUDE or EXCEPT not supported ".to_string(),
+ "wildcard * with EXCLUDE, EXCEPT or RENAME not supported ".to_string(),
))
} else {
Ok(())