From 3eb09856c8ec4ddce20472deee2df590c2fd3f35 Mon Sep 17 00:00:00 2001 From: jcsherin Date: Fri, 11 Oct 2024 18:11:23 +0530 Subject: [PATCH] Remove `arrow` dev dependency --- Cargo.toml | 2 -- datafusion/functions-window/Cargo.toml | 3 --- datafusion/functions-window/src/lead_lag.rs | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 448607257ca1..8dd3db94c8ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -113,8 +113,6 @@ datafusion-physical-plan = { path = "datafusion/physical-plan", version = "42.0. datafusion-proto = { path = "datafusion/proto", version = "42.0.0" } datafusion-proto-common = { path = "datafusion/proto-common", version = "42.0.0" } datafusion-sql = { path = "datafusion/sql", version = "42.0.0" } -datafusion-sqllogictest = { path = "datafusion/sqllogictest", version = "42.0.0" } -datafusion-substrait = { path = "datafusion/substrait", version = "42.0.0" } doc-comment = "0.3" env_logger = "0.11" futures = "0.3" diff --git a/datafusion/functions-window/Cargo.toml b/datafusion/functions-window/Cargo.toml index 262c21fcec65..2c1eede66665 100644 --- a/datafusion/functions-window/Cargo.toml +++ b/datafusion/functions-window/Cargo.toml @@ -45,6 +45,3 @@ datafusion-physical-expr = { workspace = true } datafusion-physical-expr-common = { workspace = true } log = { workspace = true } paste = "1.0.15" - -[dev-dependencies] -arrow = { workspace = true } diff --git a/datafusion/functions-window/src/lead_lag.rs b/datafusion/functions-window/src/lead_lag.rs index 847ba810db9f..d210887f8433 100644 --- a/datafusion/functions-window/src/lead_lag.rs +++ b/datafusion/functions-window/src/lead_lag.rs @@ -477,7 +477,7 @@ impl PartitionEvaluator for WindowShiftEvaluator { #[cfg(test)] mod tests { use super::*; - use arrow::array::*; + use datafusion_common::arrow::array::*; use datafusion_common::cast::as_int32_array; use datafusion_physical_expr::expressions::{Column, Literal}; use datafusion_physical_expr_common::physical_expr::PhysicalExpr;