Skip to content

Commit 3df1cb3

Browse files
authored
Minor: Move RuntimeEnv to datafusion_execution (#5580)
1 parent ce1572f commit 3df1cb3

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

datafusion/core/src/execution/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@
4343
pub mod context;
4444
// backwards compatibility
4545
pub use crate::datasource::file_format::options;
46-
pub mod runtime_env;
4746

4847
// backwards compatibility
4948
pub use datafusion_execution::disk_manager;
5049
pub use datafusion_execution::memory_pool;
5150
pub use datafusion_execution::registry;
51+
pub use datafusion_execution::runtime_env;
5252

5353
pub use disk_manager::DiskManager;
5454
pub use registry::FunctionRegistry;

datafusion/execution/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ pub mod disk_manager;
1919
pub mod memory_pool;
2020
pub mod object_store;
2121
pub mod registry;
22+
pub mod runtime_env;

datafusion/core/src/execution/runtime_env.rs renamed to datafusion/execution/src/runtime_env.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,12 @@
1919
//! and various system level components that are used during physical plan execution.
2020
2121
use crate::{
22-
error::Result,
23-
execution::disk_manager::{DiskManager, DiskManagerConfig},
24-
};
25-
26-
use datafusion_common::DataFusionError;
27-
use datafusion_execution::{
22+
disk_manager::{DiskManager, DiskManagerConfig},
2823
memory_pool::{GreedyMemoryPool, MemoryPool, UnboundedMemoryPool},
2924
object_store::ObjectStoreRegistry,
3025
};
26+
27+
use datafusion_common::{DataFusionError, Result};
3128
use object_store::ObjectStore;
3229
use std::fmt::{Debug, Formatter};
3330
use std::path::PathBuf;

0 commit comments

Comments
 (0)