From 779689a56807e062963c1333bc030eb81e2e31bc Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Mon, 19 Feb 2024 13:50:08 -0700 Subject: [PATCH] Remove circular dependency (#9279) --- datafusion/physical-expr/Cargo.toml | 1 - datafusion/physical-expr/src/datetime_expressions.rs | 2 +- datafusion/physical-expr/src/regex_expressions.rs | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/datafusion/physical-expr/Cargo.toml b/datafusion/physical-expr/Cargo.toml index 9aa08fe780ec..719dc425fcae 100644 --- a/datafusion/physical-expr/Cargo.toml +++ b/datafusion/physical-expr/Cargo.toml @@ -74,7 +74,6 @@ uuid = { version = "^1.2", features = ["v4"] } [dev-dependencies] criterion = "0.5" -datafusion = { workspace = true } rand = { workspace = true } rstest = { workspace = true } tokio = { workspace = true, features = ["rt-multi-thread"] } diff --git a/datafusion/physical-expr/src/datetime_expressions.rs b/datafusion/physical-expr/src/datetime_expressions.rs index e125c6447154..2ef105b6a5e9 100644 --- a/datafusion/physical-expr/src/datetime_expressions.rs +++ b/datafusion/physical-expr/src/datetime_expressions.rs @@ -511,7 +511,7 @@ pub fn make_current_time( /// /// # Examples /// -/// ``` +/// ```ignore /// # use chrono::prelude::*; /// # use datafusion::prelude::*; /// # use datafusion::error::Result; diff --git a/datafusion/physical-expr/src/regex_expressions.rs b/datafusion/physical-expr/src/regex_expressions.rs index 901410cc272c..b1334854ba0b 100644 --- a/datafusion/physical-expr/src/regex_expressions.rs +++ b/datafusion/physical-expr/src/regex_expressions.rs @@ -65,7 +65,7 @@ macro_rules! fetch_string_arg { /// /// # Examples /// -/// ``` +/// ```ignore /// # use datafusion::prelude::*; /// # use datafusion::error::Result; /// # #[tokio::main] @@ -136,7 +136,7 @@ pub fn regexp_like(args: &[ArrayRef]) -> Result { /// /// # Examples /// -/// ``` +/// ```ignore /// # use datafusion::prelude::*; /// # use datafusion::error::Result; /// # #[tokio::main] @@ -216,7 +216,7 @@ fn regex_replace_posix_groups(replacement: &str) -> String { /// /// # Examples /// -/// ``` +/// ```ignore /// # use datafusion::prelude::*; /// # use datafusion::error::Result; /// # #[tokio::main]