File tree 3 files changed +1
-19
lines changed
3 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -116,13 +116,7 @@ impl RunOpt {
116
116
None => queries. min_query_id ( ) ..=queries. max_query_id ( ) ,
117
117
} ;
118
118
119
- let mut config = self . common . config ( ) ;
120
- config
121
- . options_mut ( )
122
- . execution
123
- . parquet
124
- . schema_force_view_types = self . common . force_view_types ;
125
-
119
+ let config = self . common . config ( ) ;
126
120
let ctx = SessionContext :: new_with_config ( config) ;
127
121
self . register_hits ( & ctx) . await ?;
128
122
Original file line number Diff line number Diff line change @@ -120,11 +120,6 @@ impl RunOpt {
120
120
. config ( )
121
121
. with_collect_statistics ( !self . disable_statistics ) ;
122
122
config. options_mut ( ) . optimizer . prefer_hash_join = self . prefer_hash_join ;
123
- config
124
- . options_mut ( )
125
- . execution
126
- . parquet
127
- . schema_force_view_types = self . common . force_view_types ;
128
123
let ctx = SessionContext :: new_with_config ( config) ;
129
124
130
125
// register tables
@@ -345,7 +340,6 @@ mod tests {
345
340
partitions : Some ( 2 ) ,
346
341
batch_size : 8192 ,
347
342
debug : false ,
348
- force_view_types : false ,
349
343
} ;
350
344
let opt = RunOpt {
351
345
query : Some ( query) ,
@@ -379,7 +373,6 @@ mod tests {
379
373
partitions : Some ( 2 ) ,
380
374
batch_size : 8192 ,
381
375
debug : false ,
382
- force_view_types : false ,
383
376
} ;
384
377
let opt = RunOpt {
385
378
query : Some ( query) ,
Original file line number Diff line number Diff line change @@ -37,11 +37,6 @@ pub struct CommonOpt {
37
37
/// Activate debug mode to see more details
38
38
#[ structopt( short, long) ]
39
39
pub debug : bool ,
40
-
41
- /// If true, will use StringView/BinaryViewArray instead of String/BinaryArray
42
- /// when reading ParquetFiles
43
- #[ structopt( long) ]
44
- pub force_view_types : bool ,
45
40
}
46
41
47
42
impl CommonOpt {
You can’t perform that action at this time.
0 commit comments