diff --git a/datafusion/common/Cargo.toml b/datafusion/common/Cargo.toml index f127dfae536d..da1054f19679 100644 --- a/datafusion/common/Cargo.toml +++ b/datafusion/common/Cargo.toml @@ -47,4 +47,4 @@ ordered-float = "3.0" parquet = { version = "20.0.0", features = ["arrow"], optional = true } pyo3 = { version = "0.16", optional = true } serde_json = "1.0" -sqlparser = "0.21" +sqlparser = "0.22" diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml index 121857028ae5..2d5fa1020689 100644 --- a/datafusion/core/Cargo.toml +++ b/datafusion/core/Cargo.toml @@ -85,7 +85,7 @@ pyo3 = { version = "0.16", optional = true } rand = "0.8" rayon = { version = "1.5", optional = true } smallvec = { version = "1.6", features = ["union"] } -sqlparser = "0.21" +sqlparser = "0.22" 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 3fcd7d5d1e30..edb39a1bba9a 100644 --- a/datafusion/expr/Cargo.toml +++ b/datafusion/expr/Cargo.toml @@ -38,4 +38,4 @@ path = "src/lib.rs" ahash = { version = "0.8", default-features = false, features = ["runtime-rng"] } arrow = { version = "20.0.0", features = ["prettyprint"] } datafusion-common = { path = "../common", version = "11.0.0" } -sqlparser = "0.21" +sqlparser = "0.22" diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.toml index 1b0c9446e247..de41473952bf 100644 --- a/datafusion/sql/Cargo.toml +++ b/datafusion/sql/Cargo.toml @@ -42,5 +42,5 @@ arrow = { version = "20.0.0", features = ["prettyprint"] } datafusion-common = { path = "../common", version = "11.0.0" } datafusion-expr = { path = "../expr", version = "11.0.0" } hashbrown = "0.12" -sqlparser = "0.21" +sqlparser = "0.22" tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync", "fs", "parking_lot"] } diff --git a/datafusion/sql/src/planner.rs b/datafusion/sql/src/planner.rs index 094b980f1f85..4a3b049b64e1 100644 --- a/datafusion/sql/src/planner.rs +++ b/datafusion/sql/src/planner.rs @@ -567,6 +567,7 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> { | SQLDataType::UnsignedInteger(_) | SQLDataType::UnsignedBigInt(_) | SQLDataType::Datetime + | SQLDataType::TimestampTz | SQLDataType::Interval | SQLDataType::Regclass | SQLDataType::String