Skip to content

Apache DataFusion SQL Query Engine

Add `Expr` to prelude (#2348)

Andrew Lamb7a9b86526e2b
diff --git a/datafusion/core/src/prelude.rs b/datafusion/core/src/prelude.rs
index 11ca3332d5..c5f2b4fbf1 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 10cbe98ead..48e39f3709 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;