File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,8 @@ fn create_context() -> SessionContext {
166
166
. unwrap ( ) ;
167
167
ctx. register_table ( "t700" , create_table_provider ( "c" , 700 ) )
168
168
. unwrap ( ) ;
169
+ ctx. register_table ( "t1000" , create_table_provider ( "d" , 1000 ) )
170
+ . unwrap ( ) ;
169
171
170
172
let tpch_schemas = create_tpch_schemas ( ) ;
171
173
tpch_schemas. iter ( ) . for_each ( |( name, schema) | {
@@ -194,6 +196,16 @@ fn criterion_benchmark(c: &mut Criterion) {
194
196
b. iter ( || physical_plan ( & ctx, "SELECT c1 FROM t700" ) )
195
197
} ) ;
196
198
199
+ // Test simplest
200
+ c. bench_function ( "logical_select_all_from_1000" , |b| {
201
+ b. iter ( || logical_plan ( & ctx, "SELECT * FROM t1000" ) )
202
+ } ) ;
203
+
204
+ // Test simplest
205
+ c. bench_function ( "physical_select_all_from_1000" , |b| {
206
+ b. iter ( || physical_plan ( & ctx, "SELECT * FROM t1000" ) )
207
+ } ) ;
208
+
197
209
c. bench_function ( "logical_trivial_join_low_numbered_columns" , |b| {
198
210
b. iter ( || {
199
211
logical_plan (
You can’t perform that action at this time.
0 commit comments