1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: See the NOTICE file distributed with this work for additional information regarding copyright ownership
// SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements
// Make sure fast / cheap clones on Arc are explicit:
// https://github.com/apache/datafusion/issues/11143
//! Session APIs for the DataFusion query execution environment
//!
//! This crate defines shared interfaces for session-related APIs and extension
//! points. Concrete query-engine implementations are provided by higher-level
//! DataFusion crates.
//!
//! Key components:
//! * [`Session`] - Describes a query execution context, including configurations,
//! catalogs, and runtime state
//! * [`CatalogProviderList`], [`CatalogProvider`], and [`SchemaProvider`] -
//! Describe catalog hierarchies
//! * [`TableProvider`] - Provides data for query planning and execution
//! * [`QueryPlanner`], [`PhysicalPlanner`], and [`ExtensionPlanner`] - Query and
//! physical planning contracts
//! * [`PhysicalOptimizerRule`] and [`PhysicalOptimizerContext`] - Physical
//! optimization contracts
//! * [`SessionStore`] - Handles session persistence and retrieval
//!
//! The session system enables:
//! * Configuration management for query execution
//! * Catalog and schema management
//! * Function registry access
//! * Runtime environment configuration
//! * Query state persistence
pub use crate;
pub use crate;
pub use crate;
pub use crateSchemaProvider;
pub use crate;
pub use crate;