We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Any
QueryPlanner
1 parent 1ab146a commit 93015beCopy full SHA for 93015be
1 file changed
datafusion/core/src/execution/context/mod.rs
@@ -17,6 +17,7 @@
17
18
//! [`SessionContext`] API for registering data sources and executing queries
19
20
+use std::any::Any;
21
use std::collections::HashSet;
22
use std::fmt::Debug;
23
use std::sync::{Arc, Weak};
@@ -2073,7 +2074,7 @@ impl From<SessionContext> for SessionStateBuilder {
2073
2074
2075
/// A planner used to add extensions to DataFusion logical and physical plans.
2076
#[async_trait]
-pub trait QueryPlanner: Debug {
2077
+pub trait QueryPlanner: Any + Debug {
2078
/// Given a [`LogicalPlan`], create an [`ExecutionPlan`] suitable for execution
2079
async fn create_physical_plan(
2080
&self,
0 commit comments