diff --git a/Cargo.lock b/Cargo.lock index 277baa6309a4..b6d5897963b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2720,9 +2720,9 @@ dependencies = [ [[package]] name = "sqlparser" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db67dc6ef36edb658196c3fef0464a80b53dbbc194a904e81f9bd4190f9ecc5b" +checksum = "f064eb7b163863163c29801910f763c6bfb563b8a8ca4c54193da4c1eea57547" dependencies = [ "log", "serde", diff --git a/prql-compiler/Cargo.toml b/prql-compiler/Cargo.toml index d2df7ea01bf7..c8ba776d9e0b 100644 --- a/prql-compiler/Cargo.toml +++ b/prql-compiler/Cargo.toml @@ -26,7 +26,7 @@ semver = {version = "1.0.14", features = ["serde"]} serde = {version = "1.0.137", features = ["derive"]} serde_json = "1.0.81" sqlformat = "0.2.0" -sqlparser = {version = "0.30.0", features = ["serde"]} +sqlparser = {version = "0.31.0", features = ["serde"]} strum = {version = "0.24.0", features = ["std", "derive"]}# for converting enum variants to string strum_macros = "0.24.0" diff --git a/prql-compiler/src/sql/gen_query.rs b/prql-compiler/src/sql/gen_query.rs index 6a8ba10805e5..4465ba22c879 100644 --- a/prql-compiler/src/sql/gen_query.rs +++ b/prql-compiler/src/sql/gen_query.rs @@ -167,6 +167,7 @@ fn table_factor_of_table_ref(table_ref: TableRef, ctx: &mut Context) -> Result, ctx: &mut Context) -> Result