File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
datafusion-federation/src/sql Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ readme = "README.md"
1111repository = " https://github.com/datafusion-contrib/datafusion-federation"
1212
1313[workspace .dependencies ]
14- arrow-json = " 56 "
14+ arrow-json = " 57 "
1515async-stream = " 0.3.5"
1616async-trait = " 0.1.83"
17- datafusion = " 50 .0.0"
17+ datafusion = " 51 .0.0"
1818datafusion-federation = { path = " ./datafusion-federation" , version = " 0.4.10" }
1919futures = " 0.3.31"
2020tokio = { version = " 1.41" , features = [" full" ] }
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ pub struct VirtualExecutionPlan {
166166
167167impl VirtualExecutionPlan {
168168 pub fn new ( plan : LogicalPlan , executor : Arc < dyn SQLExecutor > , statistics : Statistics ) -> Self {
169- let schema: Schema = plan. schema ( ) . as_ref ( ) . into ( ) ;
169+ let schema: Schema = plan. schema ( ) . as_arrow ( ) . clone ( ) ;
170170 let props = PlanProperties :: new (
171171 EquivalenceProperties :: new ( Arc :: new ( schema) ) ,
172172 Partitioning :: UnknownPartitioning ( 1 ) ,
@@ -194,8 +194,8 @@ impl VirtualExecutionPlan {
194194 }
195195
196196 fn schema ( & self ) -> SchemaRef {
197- let df_schema = self . plan . schema ( ) . as_ref ( ) ;
198- Arc :: new ( Schema :: from ( df_schema) )
197+ let df_schema = self . plan . schema ( ) . as_arrow ( ) . clone ( ) ;
198+ Arc :: new ( df_schema)
199199 }
200200
201201 fn final_sql ( & self ) -> Result < String > {
You can’t perform that action at this time.
0 commit comments