File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
datafusion-federation/src/sql Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ impl FederationPlanner for SQLFederationPlanner {
154154}
155155
156156#[ derive( Debug , Clone ) ]
157- struct VirtualExecutionPlan {
157+ pub struct VirtualExecutionPlan {
158158 plan : LogicalPlan ,
159159 executor : Arc < dyn SQLExecutor > ,
160160 props : PlanProperties ,
@@ -178,6 +178,18 @@ impl VirtualExecutionPlan {
178178 }
179179 }
180180
181+ pub fn plan ( & self ) -> & LogicalPlan {
182+ & self . plan
183+ }
184+
185+ pub fn executor ( & self ) -> & Arc < dyn SQLExecutor > {
186+ & self . executor
187+ }
188+
189+ pub fn statistics ( & self ) -> & Statistics {
190+ & self . statistics
191+ }
192+
181193 fn schema ( & self ) -> SchemaRef {
182194 let df_schema = self . plan . schema ( ) . as_ref ( ) ;
183195 Arc :: new ( Schema :: from ( df_schema) )
You can’t perform that action at this time.
0 commit comments