Apache DataFusion SQL Query Engine
Add execution module doc (#2655)
Raphael Taylor-Davies400884fa165c
diff --git a/datafusion/core/src/execution/mod.rs b/datafusion/core/src/execution/mod.rsindex a353e16409..85a9f8b4e6 100644--- a/datafusion/core/src/execution/mod.rs+++ b/datafusion/core/src/execution/mod.rs@@ -15,7 +15,30 @@// specific language governing permissions and limitations// under the License.-//! DataFusion query execution+//! This module contains the shared state available at different parts+//! of query planning and execution+//!+//! # Runtime Environment+//!+//! [`runtime_env::RuntimeEnv`] can be created from a [`runtime_env::RuntimeConfig`] and+//! stores state to be shared across multiple sessions. In most applications there will+//! be a single [`runtime_env::RuntimeEnv`] for the entire process+//!+//! # Session Context+//!+//! [`context::SessionContext`] can be created from a [`context::SessionConfig`] and+//! an optional [`runtime_env::RuntimeConfig`], and stores the state for a particular+//! query session.+//!+//! In particular [`context::SessionState`] is the information available to query planning+//!+//! # Task Context+//!+//! [`context::TaskContext`] is typically created from a [`context::SessionContext`] or+//! [`context::SessionState`], and represents the state available to query execution.+//!+//! In particular it is the state passed to [`crate::physical_plan::ExecutionPlan::execute`]+//!pub mod context;pub mod disk_manager;