From 6ec3d1381fab6840cbefdc546098eb0111c66d9d Mon Sep 17 00:00:00 2001 From: universalmind303 Date: Mon, 23 Sep 2024 11:24:16 -0500 Subject: [PATCH] chore: bump sqlparser version --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/daft-sql/src/planner.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8dc27f4c89..ad43bff338 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5040,9 +5040,9 @@ dependencies = [ [[package]] name = "sqlparser" -version = "0.49.0" +version = "0.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a404d0e14905361b918cb8afdb73605e25c1d5029312bd9785142dcb3aa49e" +checksum = "5fe11944a61da0da3f592e19a45ebe5ab92dc14a779907ff1f08fbb797bfefc7" dependencies = [ "log", ] diff --git a/Cargo.toml b/Cargo.toml index 55403d40bb..53f9b894b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -169,7 +169,7 @@ rstest = "0.18.2" serde_json = "1.0.116" sketches-ddsketch = {version = "0.2.2", features = ["use_serde"]} snafu = {version = "0.7.4", features = ["futures"]} -sqlparser = "0.49.0" +sqlparser = "0.51.0" sysinfo = "0.30.12" test-log = "0.2.16" thiserror = "1.0.63" diff --git a/src/daft-sql/src/planner.rs b/src/daft-sql/src/planner.rs index cf82f72743..3ccdd9e5e6 100644 --- a/src/daft-sql/src/planner.rs +++ b/src/daft-sql/src/planner.rs @@ -861,7 +861,7 @@ impl SQLPlanner { // --------------------------------- // struct // --------------------------------- - SQLDataType::Struct(fields) => { + SQLDataType::Struct(fields, _) => { let fields = fields .iter() .enumerate()