Module datafusion::execution::context
source · Expand description
SessionContext contains methods for registering data sources and executing queries
Structs
- Holds per-execution properties and data (such as starting timestamps, etc). An instance of this struct is created each time a
LogicalPlan
is prepared for execution (optimized). If the same plan is optimized multiple times, a newExecutionProps
is created each time. - Configuration options for session context
- SessionContext is the main interface for executing queries with DataFusion. It stands for the connection between user and DataFusion/Ballista cluster. The context provides the following functionality
- Execution context for registering data sources and executing queries
- Task Execution Context
Traits
- DataFilePaths adds a method to convert strings and vector of strings to vector of
ListingTableUrl
URLs. This allows methods suchSessionContext::read_csv
and[
SessionContext::read_avro`] to take either a single file or multiple files. - A planner used to add extensions to DataFusion logical and physical plans.
Functions
- Default session builder using the provided configuration