From 968926a32711519e42a492c5ced4bfc9b98c6c6a Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Wed, 27 Mar 2024 19:26:49 -0500 Subject: [PATCH] keep sqlparser at 39 until polars is upgraded (#12311) # Description This PR reverts sqlparser to 0.39.0. It should stay here until we can get polars updated so that we don't have to have two versions of sqlparser. # User-Facing Changes # Tests + Formatting # After Submitting --- Cargo.lock | 13 ++----------- crates/nu-cmd-dataframe/Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 32ae9d0e7c..a48d81257f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2786,7 +2786,7 @@ dependencies = [ "polars-plan", "polars-utils", "serde", - "sqlparser 0.44.0", + "sqlparser", ] [[package]] @@ -4117,7 +4117,7 @@ dependencies = [ "rand", "serde", "serde_json", - "sqlparser 0.39.0", + "sqlparser", ] [[package]] @@ -5228,15 +5228,6 @@ dependencies = [ "log", ] -[[package]] -name = "sqlparser" -version = "0.44.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf9c7ff146298ffda83a200f8d5084f08dcee1edfc135fcc1d646a45d50ffd6" -dependencies = [ - "log", -] - [[package]] name = "stability" version = "0.1.1" diff --git a/crates/nu-cmd-dataframe/Cargo.toml b/crates/nu-cmd-dataframe/Cargo.toml index fc9f2cb519..0e3649e4dd 100644 --- a/crates/nu-cmd-dataframe/Cargo.toml +++ b/crates/nu-cmd-dataframe/Cargo.toml @@ -24,7 +24,8 @@ fancy-regex = { workspace = true } indexmap = { workspace = true } num = { version = "0.4", optional = true } serde = { workspace = true, features = ["derive"] } -sqlparser = { version = "0.44", optional = true } +# keep sqlparser at 0.39.0 until we can update polars +sqlparser = { version = "0.39.0", optional = true } polars-io = { version = "0.37", features = ["avro"], optional = true } polars-arrow = { version = "0.37", optional = true } polars-ops = { version = "0.37", optional = true }