File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ impl Query {
91
91
let mut config = SessionConfig :: default ( )
92
92
. with_parquet_pruning ( true )
93
93
. with_prefer_existing_sort ( true )
94
- . with_information_schema ( true )
95
94
. with_batch_size ( 1000000 )
96
95
. with_coalesce_batches ( true ) ;
97
96
@@ -142,9 +141,7 @@ impl Query {
142
141
. execute_logical_plan ( self . final_logical_plan ( & time_partition) )
143
142
. await ?;
144
143
145
- let optimised_df = df. repartition ( Partitioning :: RoundRobinBatch ( 16 ) ) ?;
146
-
147
- let fields = optimised_df
144
+ let fields = df
148
145
. schema ( )
149
146
. fields ( )
150
147
. iter ( )
@@ -156,7 +153,7 @@ impl Query {
156
153
return Ok ( ( vec ! [ ] , fields) ) ;
157
154
}
158
155
159
- let results = optimised_df . collect ( ) . await ?;
156
+ let results = df . collect ( ) . await ?;
160
157
Ok ( ( results, fields) )
161
158
}
162
159
You can’t perform that action at this time.
0 commit comments