diff --git a/wren-core/core/src/lib.rs b/wren-core/core/src/lib.rs index 7443ca094..491d82071 100644 --- a/wren-core/core/src/lib.rs +++ b/wren-core/core/src/lib.rs @@ -1,7 +1,7 @@ pub mod logical_plan; pub mod mdl; -pub use datafusion::prelude::SessionContext; +pub use datafusion::error::DataFusionError; pub use datafusion::logical_expr::{AggregateUDF, ScalarUDF, WindowUDF}; +pub use datafusion::prelude::SessionContext; pub use mdl::AnalyzedWrenMDL; -pub use datafusion::error::DataFusionError; \ No newline at end of file diff --git a/wren-core/core/src/mdl/mod.rs b/wren-core/core/src/mdl/mod.rs index adce23b78..35b6bb59d 100644 --- a/wren-core/core/src/mdl/mod.rs +++ b/wren-core/core/src/mdl/mod.rs @@ -1,4 +1,5 @@ use crate::logical_plan::utils::{from_qualified_name_str, map_data_type}; +use crate::mdl::builder::ManifestBuilder; use crate::mdl::context::{create_ctx_with_mdl, WrenDataSource}; use crate::mdl::function::{ ByPassAggregateUDF, ByPassScalarUDF, ByPassWindowFunction, FunctionType, @@ -24,9 +25,8 @@ use log::{debug, info}; use manifest::Relationship; use parking_lot::RwLock; use regex::Regex; -use std::{collections::HashMap, sync::Arc}; use std::hash::Hash; -use crate::mdl::builder::ManifestBuilder; +use std::{collections::HashMap, sync::Arc}; pub mod builder; pub mod context;