Skip to content

Commit c4c9b37

Browse files
committed
[Benchmark] Add numeric tables in phys-cost-models
Selectivity tables for other numeric types were added.
1 parent f66a9ca commit c4c9b37

File tree

1 file changed

+21
-0
lines changed
  • benchmark/phys-cost-models

1 file changed

+21
-0
lines changed

benchmark/phys-cost-models/gen.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,27 @@
7070
( 'a3', 'i32', ['NOT NULL'] ),
7171
],
7272

73+
'Selectivity_i32': [
74+
( 'id', 'i32', ['NOT NULL'] ),
75+
( 'i32', 'i32', ['NOT NULL'] ),
76+
( 'i32_sorted', 'i32', ['NOT NULL'] ),
77+
( 'payload', 'i32', ['NOT NULL'] ),
78+
],
79+
80+
'Selectivity_i64': [
81+
( 'id', 'i32', ['NOT NULL'] ),
82+
( 'i64', 'i64', ['NOT NULL'] ),
83+
( 'i64_sorted', 'i64', ['NOT NULL'] ),
84+
( 'payload', 'i32', ['NOT NULL'] ),
85+
],
86+
87+
'Selectivity_f': [
88+
( 'id', 'i32', ['NOT NULL'] ),
89+
( 'f', 'f', ['NOT NULL'] ),
90+
( 'f_sorted', 'f', ['NOT NULL'] ),
91+
( 'payload', 'i32', ['NOT NULL'] ),
92+
],
93+
7394
'Selectivity_d': [
7495
( 'id', 'i32', ['NOT NULL'] ),
7596
( 'd', 'd', ['NOT NULL'] ),

0 commit comments

Comments
 (0)