Skip to content

Commit 88c46bd

Browse files
committed
x
1 parent fa424df commit 88c46bd

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/query/sql/tests/it/optimizer/selectivity.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ out stats :
6262

6363
expr : a > 17
6464
cardinality : 100
65-
estimated : 36.36363636363637
65+
estimated : 27.27272727272727
6666
in stats :
6767
0 ColumnStat { min: UInt(10), max: UInt(20), ndv: Stat(10.0), null_count: 0, histogram: None }
6868
1 ColumnStat { min: UInt(10), max: UInt(20), ndv: Stat(10.0), null_count: 10, histogram: None }
6969
out stats :
70-
0 ColumnStat { min: UInt(17), max: UInt(20), ndv: Stat(4.0), null_count: 0, histogram: None }
71-
1 ColumnStat { min: UInt(10), max: UInt(20), ndv: Stat(4.0), null_count: 4, histogram: None }
70+
0 ColumnStat { min: UInt(17), max: UInt(20), ndv: Stat(3.0), null_count: 0, histogram: None }
71+
1 ColumnStat { min: UInt(10), max: UInt(20), ndv: Stat(3.0), null_count: 3, histogram: None }
7272

7373
expr : a > 20
7474
cardinality : 100
@@ -162,13 +162,13 @@ out stats :
162162

163163
expr : a < 17
164164
cardinality : 100
165-
estimated : 72.72727272727273
165+
estimated : 63.63636363636363
166166
in stats :
167167
0 ColumnStat { min: UInt(10), max: UInt(20), ndv: Stat(10.0), null_count: 0, histogram: None }
168168
1 ColumnStat { min: UInt(10), max: UInt(20), ndv: Stat(10.0), null_count: 10, histogram: None }
169169
out stats :
170-
0 ColumnStat { min: UInt(10), max: UInt(17), ndv: Stat(8.0), null_count: 0, histogram: None }
171-
1 ColumnStat { min: UInt(10), max: UInt(20), ndv: Stat(8.0), null_count: 8, histogram: None }
170+
0 ColumnStat { min: UInt(10), max: UInt(17), ndv: Stat(7.0), null_count: 0, histogram: None }
171+
1 ColumnStat { min: UInt(10), max: UInt(20), ndv: Stat(7.0), null_count: 7, histogram: None }
172172

173173
expr : a < 20
174174
cardinality : 100

0 commit comments

Comments
 (0)