From 7a9b86526e2bd12deccb9ff30cead2ba6323409a Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Thu, 28 Apr 2022 20:45:07 -0400 Subject: [PATCH] Add `Expr` to prelude (#2348) * Add `Expr` to prelude * cleanup --- datafusion/core/src/prelude.rs | 2 +- datafusion/core/tests/dataframe_functions.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/datafusion/core/src/prelude.rs b/datafusion/core/src/prelude.rs index 11ca3332d5a5..c5f2b4fbf1ca 100644 --- a/datafusion/core/src/prelude.rs +++ b/datafusion/core/src/prelude.rs @@ -37,5 +37,5 @@ pub use crate::logical_plan::{ md5, min, not_exists, not_in_subquery, now, octet_length, random, regexp_match, regexp_replace, repeat, replace, reverse, right, rpad, rtrim, scalar_subquery, sha224, sha256, sha384, sha512, split_part, starts_with, strpos, substr, sum, to_hex, - translate, trim, upper, Column, JoinType, Partitioning, + translate, trim, upper, Column, Expr, JoinType, Partitioning, }; diff --git a/datafusion/core/tests/dataframe_functions.rs b/datafusion/core/tests/dataframe_functions.rs index 10cbe98ead25..48e39f37090b 100644 --- a/datafusion/core/tests/dataframe_functions.rs +++ b/datafusion/core/tests/dataframe_functions.rs @@ -28,7 +28,6 @@ use datafusion::datasource::MemTable; use datafusion::error::Result; -// use datafusion::logical_plan::Expr; use datafusion::prelude::*; use datafusion::execution::context::SessionContext;